
28 May
2004
28 May
'04
6:37 p.m.
Rob Stewart <stewart@sig.com> writes:
Why would this -- no stack unwinding for an unhandled exception -- matter in boost::fsm?
Because boost::fsm doesn't allow me to discriminate exception types and keep the stack from unwinding (for unhandled exceptions) at the same time.
Why would you want terminate() to be called without stack unwinding on those platforms that do it? What does that get you?
It doesn't destroy program state information when the termination corresponds to a program bug. But then, you probably want abort() and not terminate(). You want a core dump for sure. -- Dave Abrahams Boost Consulting http://www.boost-consulting.com