16
Language support library
[language.support]
16.9
Exception handling
[support.exception]
16.9.5
uncaught_exceptions
[uncaught.exceptions]
🔗
int uncaught_exceptions() noexcept;
1
#
Returns:
The number of
uncaught exceptions
.
2
#
Remarks:
When
uncaught_exceptions() > 0
, throwing an exception can result in a call of the function
std::terminate
.