Share via


terminate

terminate

void ``terminate``();

The function calls the current terminate handler, a function of type void () called when exception handling must be abandoned for any of several reasons. A terminate handler may not return to its caller. At program startup, the terminate handler is a function that calls abort``().