17 Language support library [support]

17.9 Exception handling [support.exception]

17.9.5 Abnormal termination [exception.terminate]

17.9.5.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().