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::current_
exception()
and the class
std::nested_
exception
can be used by a program to capture the currently handled exception
.