First page Back Continue Last page Graphics
13.7 Processing Unexpected Exceptions
Function unexpected
- Calls function registered with set_unexpected
- <exception>
- Calls terminate by default
- set_terminate
- Sets what function terminate calls
- By default, calls abort
- If redefined, still calls abort after new function finishes
Arguments for set functions
- Pass pointer to function
- Function must take no arguments
- Returns void