A C++ program may install different handler functions during execution, by
supplying a pointer to a function defined in the program or the library
as an argument to (respectively):
- set_new_handler
- set_terminate
See also subclauses
[alloc.errors], Storage allocation errors, and
[support.exception],
Exception handling
.