Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2005-01-28 11:39:37


Stefan Slapeta <stefan_nospam__at_[hidden]> writes:

> David Abrahams wrote:
>> Not for many types that one might like to reset, such as pointers,
>> shared_ptr<T>, and integral types.
>>
>
> So I guess you mean that plain assignment is better in general?

No, I mean that you can't make any clear generalization. It seems to
me like for this particular case plain assignment is probably better.
YMMV.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

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