|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2005-11-11 16:53:14
Alexander Nasonov <alnsn-boost_at_[hidden]> writes:
>> > I prefer not hiding catch(...) from a user.
>>
>> Practically speaking, destructors are much better than catch(...) for
>> finally-like operations on many platforms. Several of them have a
>> similar problem to Windows, where catch(...) catches asynchronous
>> exceptions.
>
> We were talking about catch(...) inside a destructor. How can you
> compare which one is better if both are in use?
Oh, I didn't realize that. Thanks.
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk