17
Language support library
[support]
17.9
Exception handling
[support.exception]
17.9.5
Abnormal termination
[exception.terminate]
17.9.5.1
Type
terminate_handler
[terminate.handler]
🔗
using
terminate_handler
=
void
(
*
)
(
)
;
1
#
The type of a
handler function
to be called by
std
::
terminate
(
)
when terminating exception processing
.
2
#
Required behavior
: A
terminate_handler
shall terminate execution of the program without returning to the caller
.
3
#
Default behavior
: The implementation's default
terminate_handler
calls
abort
(
)
.