17 Language support library [support]

17.9 Exception handling [support.exception]

17.9.4 Abnormal termination [exception.terminate]

17.9.4.1 Type terminate_Β­handler [terminate.handler]

using terminate_handler = void (*)();
The type of a handler function to be called by std​::​terminate() when terminating exception processing.
Required behavior: A terminate_Β­handler shall terminate execution of the program without returning to the caller.
Default behavior: The implementation's default terminate_Β­handler calls abort().