Export (0) Print
Expand All
div
eof
Expand Minimize

unexpected (CRT) 

Calls terminate or function you specify using set_unexpected.


void unexpected( void );

The unexpected routine is not used with the current implementation of C++ exception handling. unexpected calls terminate by default. You can change this default behavior by writing a custom termination function and calling set_unexpected with the name of your function as its argument. unexpected calls the last function given as an argument to set_unexpected.

Routine Required header Compatibility

unexpected

<eh.h>

ANSI, Windows 95, Windows 98, Windows 98 Second Edition, Windows Millennium Edition, Windows NT 4.0, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003

For additional compatibility information, see Compatibility in the Introduction.

Community Additions

ADD
Show:
© 2014 Microsoft