Boost logo

Boost :

Subject: Re: [boost] structured exceptions for UNIXs -- the hard way
From: Alexander Terekhov (terekhov_at_[hidden])
Date: 2011-09-21 11:37:41


Peter Foelsche wrote:
[...]
> I hope the guys at G++ are listening...
> Maybe one day they get the idea, that not every idea from microsoft is so
> bad.

IIRC GCC/G++ already implements two-phase EH (that's what SEH basically
is in essence) according to

http://sourcery.mentor.com/public/cxx-abi/abi-eh.html

which states

"A two-phase exception-handling model is not strictly necessary to
implement C++ language semantics, but it does provide some benefits. For
example, the first phase allows an exception-handling mechanism to
dismiss an exception before stack unwinding begins, which allows
resumptive exception handling (correcting the exceptional condition and
resuming execution at the point where it was raised). While C++ does not
support resumptive exception handling, other languages do, and the
two-phase model allows C++ to coexist with those languages on the stack.
"

regards,
alexander.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk