Boost logo

Boost :

From: Oleg Abrosimov (olegabr_at_[hidden])
Date: 2007-08-19 11:08:27


Alexander Nasonov wrote:
> Joseph Gauterin <joseph.gauterin <at> googlemail.com> writes:
>
>> It is my understanding that if the 'push_back' throws, then program
>> flow will never reach the BOOST_SCOPE_EXIT block, so the internal
>> scope exits object will never be created, so it won't erroneously
>> remove an element.
>
> This is correct.
> --
> Alexander

Thank you for resolving my ambiguity.
It's not easy to think in the way this library suggests. Time is needed
to be used to.

May be it is worth to stress this aspect in documentation, to help users
like me?

Oleg Abrosimov.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk