16
Language support library
[language.support]
16.9
Exception handling
[support.exception]
16.9.4
Abnormal termination
[exception.terminate]
16.9.4.2
set_terminate
[set.terminate]
🔗
terminate_handler set_terminate(terminate_handler f) noexcept;
1
#
Effects:
Establishes the function designated by
f
as the current handler function for terminating exception processing
.
2
#
Remarks:
It is unspecified whether a null pointer value designates the default
terminate_handler
.
3
#
Returns:
The previous
terminate_handler
.