
Aleksey Gurtovoy <agurtovoy@meta-comm.com> writes:
That's called "move semantics", a library-based approach to which was thought of as far back as 2001 -- http://tinyurl.com/4nzcq (http://groups-beta.google.com/group/comp.lang.c++.moderated/browse_thread/th...).
And I believe the most advanced work on library-based move semantics to date is in the sandbox http://cvs.sourceforge.net/viewcvs.py/boost-sandbox/boost-sandbox/boost/move... http://cvs.sourceforge.net/viewcvs.py/boost-sandbox/boost-sandbox/libs/move/... And look for N1770 and N1771 in the upcoming committee mailing (due out any day now) for a complete language solution to move semantics and a description of associated standard library changes. -- Dave Abrahams Boost Consulting www.boost-consulting.com