Namespaces
Variants
Actions

std::uncaught_exception, std::uncaught_exceptions

From cppreference.com
< cpp‎ | error
 
 
 
Defined in header <exception>
(1)
bool uncaught_exception() throw();
(until C++11)
bool uncaught_exception() noexcept;
(since C++11)
(deprecated in C++17)
(removed in C++20)
int uncaught_exceptions() noexcept;
(2) (since C++17)
(constexpr since C++26)
1) Detects if the current thread has a live exception object, that is, an exception has been thrown or rethrown and not yet entered a matching catch clause, std::terminate or