17 #if defined(__clang__) || defined(__GNUG__)
25 #if defined(__clang__) || defined(__GNUG__)
26 std::string to_demangle = __cxxabiv1::__cxa_current_exception_type()->name();
28 char* buff = __cxxabiv1::__cxa_demangle(to_demangle.c_str(),
nullptr,
nullptr, &status);
31 std::string demangled = buff;
std::string get_unknown_exception_type()
Utility function for finding the type of thing caught with catch(...).