Content deleted Content added
Aiden Seiler (talk | contribs) No edit summary |
ClueBot NG (talk | contribs) m Reverting possible vandalism by Aiden Seiler to version by Anncolettegaus. Report False Positive? Thanks, ClueBot NG. (2566049) (Bot) |
||
Line 1:
{{copy edit|date=February 2016}}
If the move assignment operator is not explicitly defined, then the compiler will generate an implicit move assignment operator ([[C++11]] and newer). The parameter of a move assignment operator is an [[rvalue reference]] (T&&) to type ''T'', ''T'' being the object that defines the move assignment operator. The move assignment operator is different than a [[move constructor]] because a move assignment operator is called on an existing object, while a move constructor would be called on an object being created. One must also signify that the other object's data is not valid anymore, and has been moved.
|