Subject: Re: [boost] [exception] uncaught_exception_count, scope(failure), scope(success)
From: Evgeny Panasyuk (evgeny.panasyuk_at_[hidden])
Date: 2013-03-30 20:40:10
>06.02.2013 2:57, Emil Dotchevski:
>>> While scope(exit) is some kind of ad-hoc replacement for RAII wrappers,
>>> scope(failure) and scope(success) are not.
>>> Nowadays scope(failure) and scope(success) are emulated in C++ via
>>> ScopeGuard idiom.
>> Could you clarify what does uncaught_exceptions_count() use look like?
>> How is it different scope guard?
There is proposal by Herb Sutter for add similar functionality to ISO -
http://isocpp.org/files/papers/N3614.pdf which is aimed on providing
basis for implementation of scope(failure)/scope(success).
Emil, could you please clarify what is your position on adding
uncaught_exception_count into Boost.Exception? (
-- Evgeny Panasyuk
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk