
11 Nov
2005
11 Nov
'05
9:53 p.m.
Alexander Nasonov <alnsn-boost@yandex.ru> 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