From: Victor A. Wagner, Jr. (vawjr_at_[hidden])
Date: 2002-06-20 17:19:06
rely on unwinding _before_ the catch handler executes??
I didn't suggest within the throwing frame, I suggested a new frame (the
catch LOOKS almost like a function anyhow)..... catch (const
so the obvious question is: why _isn't_ it an exception?
At Thursday 2002/06/20 14:39, you wrote:
>Maybe. But is anyway too late for this; there are already many idioms
>relying on stack unwinding, such as RAII.
>It would break a lot of code -and a lot of thinking- if catch handlers
>executed from within the frame were the exception was thrown.
>I admit that not being able to access the throwing frame is a pain in the
>....and terminating the application just to take a snapshot of it is a though
>call -and for some of us not even an option-.
>Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Victor A. Wagner Jr. http://rudbek.com
PGP RSA fingerprint = 4D20 EBF6 0101 B069 3817 8DBF C846 E47A
PGP D-H fingerprint = 98BC 65E3 1A19 43EC 3908 65B9 F755 E6F4 63BB 9D93
The five most dangerous words in the English language:
"There oughta be a law"
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk