From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-09-21 13:04:32
From: "Thomas Witt" <witt_at_[hidden]>
> On Saturday 21 September 2002 19:22, Peter Dimov wrote:
> > BTW overplaying copy+swap is a good thing. It's difficult to make a
> > when using copy+swap, and it's incredibly easy to make a mistake when
> > hand-coding. Even shared_ptr had a bug in its copy+swap-less operator=
> > IIRC. Or was it reset?
> FWIW it was reset but scoped_ptr.
My memory may be short but it's not _that_ short. :-) I was thinking of
when I wrote the above. Of course scoped_ptr::reset is a valid example, too.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk