From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-01-16 10:56:04
From: "bill_kempf" <williamkempf_at_[hidden]>
> I'm just trying to "feel out" the pros and cons of using an actual
> exception, which can be caught in a catch(...) block. If there are
> compelling reasons to want the "exception" to be non-catchable then I
> can present these reasons to the committee and they can decide
> whether or not it's worth requiring a language change to allow for
> this "kissing cousin".
A programmer that wants to catch the cancellation exception may have good
reasons to do so. In particular, letting an exception escape from a
destructor during stack unwinding terminates the process, no questions
Making this exception non-catchable by catch(...) may also break correct
code (in the sense that it may silently become exception unsafe.)
-- Peter Dimov Multi Media Ltd.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk