From: Peter Dimov (pdimov_at_[hidden])
Date: 2001-07-13 11:01:34
From: "Christian Thäter" <chth_at_[hidden]>
> > Excuse me for breaking in where I probably don't belong, but I'm not
> > sure I'm understanding what you're asking. Do you expect to have the
> > following semantics?
> > shared_ptr<foo> p1(new foo());
> > shared_ptr<foo> p2(p1);
> > p1.reset(new foo());
> > assert(p1.get() == p2.get());
What exactly is wrong with
*p1 = foo();
-- Peter Dimov Multi Media Ltd.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk