<exception> Members

Reference

Typedefs

terminate_handler

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

unexpected_handler

A type that describes a pointer to a function suitable for use as an unexpected_handler.

Functions

set_terminate

Establishes a new terminate_handler to be called at the termination of the program.

set_unexpected

Establishes a new unexpected_handler to be when an unexpected exception is encountered.

terminate

Calls a terminate handler.

uncaught_exception

Returns true only if a thrown exception is being currently processed.

unexpected

Calls an unexpected handler.

Classes

bad_exception Class

The class describes an exception that can be thrown from an unexpected_handler.

exception Class

The class serves as the base class for all exceptions thrown by certain expressions and by the Standard C++ Library.

See Also

Reference

<exception> Header

Thread Safety in the Standard C++ Library