Subject: Re: [boost] [exception] uncaught_exception_count, scope(failure), scope(success)
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2013-02-06 07:36:02
Le 05/02/13 20:11, Evgeny Panasyuk a écrit :
> Hello All,
> I think that uncaught_exception_count (and
> uncaught_exception_count_latch primitive) can be added into
> Boost.Exception library, at least into "detail" section.
> After that scope(failure) and scope(success) features can be
> implemented in Boost.ScopeExit library.
> Note, approximately 14 of 16 Boost.ScopeExit examples in manual are in
> fact emulations of scope(failure)/scope(success). So, looks like in
> first place Boost.ScopeExit was introduced to simplify emulation of
> scope(failure) and scope(success) features.
> What do you think?
+1 for both inclusions. If the Boost.Exception and Boost.ScopedExit
authors are not for, you could propose them in a new library for review.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk