|
Boost : |
From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-01-16 13:41:02
From: "bill_kempf" <williamkempf_at_[hidden]>
> --- In boost_at_y..., "Peter Dimov" <pdimov_at_m...> wrote:
> > So, code that currently has
> >
> > try
> > {
> > // ...
> > }
> > catch(...)
> > {
> > // eat exceptions, we're in a destructor
> > }
> >
> > will need to be fixed to disable cancellation as well.
>
> Only if it makes calls to any "cancellation points".
True. IOW it will not need fixing only if the try block is guaranteed to not
call, directly or indirectly, a cancellation point.
-- 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