
6 Feb
2013
6 Feb
'13
9:10 p.m.
on Sat Feb 02 2013, Sebastian Redl <sebastian.redl-AT-getdesigned.at> wrote:
Anything that gives the target object the state the source object had and is cheaper than a copy is a successful move, really. That is what a move ultimately is: an optimization of copying.
I never liked that characterization. If move were an optimization of copy it would have all the semantics of copy... but it doesn't. In a move, the source object state becomes indeterminate. -- Dave Abrahams