21
Language support library
[language.support]
21.8
Exception handling
[support.exception]
21.8.5
uncaught_Âexceptions
[uncaught.exceptions]
đź”—
int uncaught_exceptions() noexcept;
1
#
Returns:
The number of uncaught exceptions (
[except.uncaught]
)
.
2
#
Remarks:
When
uncaught_Âexceptions() > 0
, throwing an exception can result in a call of
std​::​terminate()
(
[except.terminate]
)
.