Это код, который у меня есть.
try
{
// code throws potentially unknown exception
}
catch (...)
{
std::exception_ptr eptr = std::current_exception();
// then what ?
}
В идеале я хотел бы получить строку, связанную с исключением, если она является std:: exception.