Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

new_handler

The type points to a function suitable for use as a new handler.

typedef void ( *new_handler )( );

This type of handler function is called by operator new or operator new[] when they cannot satisfy a request for additional storage.

See set_new_handler for an example using new_handler as a return value.

Header: <new>

Namespace: std

Show:
© 2014 Microsoft