
4 Dec
2008
4 Dec
'08
6:54 p.m.
on Wed Dec 03 2008, Mathias Gaunard <mathias.gaunard-AT-ens-lyon.org> wrote:
David Abrahams wrote:
I don't think it's unfortunate. Destructive move semantics is nearly impossible to use correctly in many conditions.
Would you mind giving examples?
void f() { X a; if (something) g(move(a)); // ... // a.~X() ? } -- Dave Abrahams BoostPro Computing http://www.boostpro.com