Boost logo

Boost :

From: loufoque (mathias.gaunard_at_[hidden])
Date: 2006-07-10 14:33:53


Kevin Spinar wrote :

> Wouldn't it be more-correct to write:
>
> Derived d;
> clone_ptr<Base> p(d);

clone_ptr<Base> p(Derived()); rather

Unfortunetely copying must be done in all cases, even with NRVO.


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