Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2004-05-28 13:37:17

Rob Stewart <stewart_at_[hidden]> 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

Boost list run by bdawes at, gregod at, cpdaniel at, john at