Move assignment operator: Difference between revisions

Content deleted Content added
No edit summary
m Added reference
Line 14:
* The operator returns a reference to "*this".
 
An implementation of the move assignment operator:<ref>{{Cite web|title = Move Constructors and Move Assignment Operators (C++)|url = https://msdn.microsoft.com/en-us/library/dd293665.aspx|website = msdn.microsoft.com|access-date = 2016-02-23}}</ref><syntaxhighlight lang="c++">
class Resource {