j
k
j a
j l
Kevin Spinar wrote :
Wouldn't it be more-correct to write: Derived d; clone_ptr<Base> p(d);
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.
Back to the thread
Back to the list