[terminate.handler] (original) (raw)

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 ahandler functionto be called bystd​::​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 callsabort().