Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-07-31 08:01:26


From: "Philippe A. Bouchard" <philippeb_at_[hidden]>
>
> Well:
> Y * pY = new Derived;
> delete pY;
>
> Won't work. I don't see how shared_ptr<> is better in this situation.

It's only better because it works. Nothing more.


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