Files
cppdraft_translate/cppdraft/set/terminate.md
2025-10-25 03:02:53 +03:00

1.0 KiB

[set.terminate]

17 Language support library [support]

17.9 Exception handling [support.exception]

17.9.5 Abnormal termination [exception.terminate]

17.9.5.2 set_terminate [set.terminate]

🔗

terminate_handler set_terminate(terminate_handler f) noexcept;

1

#

Effects: Establishes the function designated by f as the current handler function for terminating exception processing.

2

#

Returns: The previous terminate_handler.

3

#

Remarks: It is unspecified whether a null pointer value designates the defaultterminate_handler.