Answer to Question #537 in C++ for Silvia Rosso
How to correctly terminate the program with an unexpected exception?
Use the function set_terminate() to set an own termination function. It has to terminate the program but can perform the necessary preparation steps.
No comments. Be first!