Does C++ offer a way to \'show\' something visual if an unhandled exception occurs?
What I want to do is to make something like assert(unhandled exception.msg())>
Microsoft Visual C++ allows you to hook unhandled C++ exceptions like this. This is standard STL behaviour.
You set a handler via a call to set_terminate
. It's recommended that your handler do not very much work, and then terminate the program, but I don't see why you could not signal something via an assert - though you don't have access to the exception that caused the problem.