Move assignment operator: Difference between revisions

Content deleted Content added
m Reverted edits by Aiden Seiler (talk) to last version by Smalljim
No edit summary
Tags: Visual edit repeating characters
Line 8:
 
== Overloading move assignment operator ==
To overload the move assignment operator, the signature of the functionfunctioewfuryewjbxhyfgejrhgejwhrxegwj gfrmwhjgfrewjhrgfekhjgf ejhfgejrhfg memewjhgf wfmn must be as follows:<ref>{{Cite web|title = Move assignment operator - cppreference.com|url = http://en.cppreference.com/w/cpp/language/move_assignment|website = en.cppreference.com|access-date = 2016-02-23}}</ref><syntaxhighlight lang="c++">
T& operator=(T&& data)
</syntaxhighlight>To successfully overload the move assignment operator, the following conditions must be met: