terminate


function
<exception>
void terminate();

Function handling termination on exception

Function automatically called when the exception handling process has to be abandoned for some circumstance that makes impossible to continue with it.

The function calls the current terminate handler function (either the one by default or the one set by a call to set_terminate).

The terminate handler by default simply calls abort.

This function is provided so that it can be explicitly called by a program.

Return value

none

See also