共用方式為


terminate_handler

The type describes a pointer to a function suitable for use as a terminate_handler.

typedef void ( *terminate_handler )( );

Remarks

The type describes a pointer to a function suitable for use as a terminate handler.

Example

See set_terminate for an example of the use of terminate_handler.

Requirements

Header: <exception>

Namespace: std