[uncaught.exceptions] (original) (raw)

17 Language support library [support]

17.9 Exception handling [support.exception]

17.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 functionstd​::​terminate.