Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

C++ Language/Indirection/RvalueReferences/MovingFromThis

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

A function like AssignTo() is the opposite of a common assignment operator (assigning from this object to the parameter, instead of from the parameter to this object). To specify function overloading that distinguishes between move-semantics and copy-semantics, a function like AssignTo() would program either & or && immediately before the function body's opening curly-brace. Additional information about move semantics when you move from the this pointer (includes interactive examples)