std::uncaught_exception,std::uncaught_exceptions (3) Linux Manual Page
std::uncaught_exception,std::uncaught_exceptions – std::uncaught_exception,std::uncaught_exceptions Synopsis Defined in header <exception> bool uncaught_exception() throw(); (until C++11) (since C++11) bool uncaught_exception() noexcept; (1) (deprecated in C++17) (removed in C++20) int uncaught_exceptions() noexcept; (2) (since C++17) 1) Detects if the current thread has a live exception object, that is, an exception has been thrown or rethrown and not yet entered…
