Boost logo

Boost :

From: Andrey Semashev (andysem_at_[hidden])
Date: 2007-08-24 13:03:35


Hello Ilya,

Friday, August 24, 2007, 3:12:11 PM, you wrote:

> Alexander Nasonov wrote:

> [snip]

>> Error handling is as important as a main flow of execution.
>> I don't see how ScopeExit is worst than ScopeGuard in distracting from
>> the main flow. try/catch and try/finally are even worst, see the
> Alternatives
>> section.

> Sorry for such late response.
> I have not found a comparison with try/finally in the Alternatives
> section, but i think it should be there.

I suspect, because there is no "finally" in C++ and therefore it's not
really an alternative.

-- 
Best regards,
 Andrey                            mailto:andysem_at_[hidden]

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