Boost logo

Boost :

From: Ruslan Zasukhin (sunshine_at_[hidden])
Date: 2002-06-25 01:19:35


on 6/25/02 2:44, Joe Swatosh at joe-swatosh_at_[hidden] wrote:

>> 2) It's very close to a SmartPtr. So close, in fact, that
>> I make the claim that a ScopeGuard *is* a SmartPtr.
>
> Not sure I buy that one yet.

ScopeGuard is NOT a SmartPtr. May be only if consider it in theory.

ScopeGuard give us easy functionality of UNDO operation that can be more
complex than simple destroy of pointed object.

-- 
Best regards,
Ruslan Zasukhin              [ I feel the need...the need for speed ]
---------------------------------------------------------------------
ParadigmaSoft                            http://www.paradigmasoft.com
Valentina is cross-platform, fantastic fast database engine, supports
C/C++, Java, SQL, REALbasic, Director, XCMD, COM, Visual BASIC, ...
---------------------------------------------------------------------

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