[except.special.general] (original) (raw)

14 Exception handling [except]

14.6 Special functions [except.special]

14.6.1 General [except.special.general]

1

#

The function std​::​terminate ([except.terminate]) is used by the exception handling mechanism for coping with errors related to the exception handling mechanism itself.

The function std​::​uncaught_exceptions ([uncaught.exceptions]) reports how many exceptions are uncaught in the current thread.

The function std​::​current_exception ([propagation]) and the classstd​::​nested_exception ([except.nested]) can be used by a program to capture the currently handled exception.