Glossary: C++ Beyond the Basics
Move constructor
Also written: move semantics
A constructor `T(T&&)` that builds a new object by taking another's contents instead of copying them. The source is left moved-from.
Glossary: C++ Beyond the Basics
Also written: move semantics
A constructor `T(T&&)` that builds a new object by taking another's contents instead of copying them. The source is left moved-from.