Reference
C Library
IOstream Library
Strings library
STL Containers
STL Algorithms
Miscellaneous
Miscellaneous
complex
exception
functional
iterator
limits
locale
memory
new
numeric
stdexcept
typeinfo
utility
valarray
exception
bad_exception
exception
set_terminate
set_unexpected
terminate
terminate_handler
uncaught_exception
unexpected
unexpected_handler


terminate_handler

type
<exception>
typedef void (*terminate_handler)();

Type of terminate handler function

This is a typedef of a void function with no parameters, used as the argument and return type in function set_terminate.

A terminate handler function is a function automatically called when an exception handling process has to be abandoned.

For more info, see the reference for set_terminate, which is the function used to set a function of this type as the active uterminate handler.

See also

set_terminate_handler