
19 Aug
2007
19 Aug
'07
3:08 p.m.
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.