
28 Jan
2005
28 Jan
'05
4:39 p.m.
Stefan Slapeta <stefan_nospam_@slapeta.com> 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