From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-01-17 13:08:26
----- Original Message -----
From: "bill_kempf" <williamkempf_at_[hidden]>
> > Note: uncaught_exception returns false in catch blocks, but catch
> > normally contain the same sort of code as destructors (this is why
> > doesn't like it).
> I'm not sure I know what you are trying to illustrate here. I agree
> with the above statement, but in our case you can at least deal with
> cancellation in destructors (by turning it off or using try/catch),
> while during stack unwinding we could cause the application to
> Are you against N6?
No; I am just reminding everyone that if you use uncaught_exception() to
protect against throwing during stack unwinding, you should keep in mind
that it doesn't detect all cases where you're still "logically unwinding"
(i.e. when you're going to rethrow from the catch block). Forewarned is
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk