Skip to content

Glossary: C++ Beyond the Basics

Move assignment

Also written: move assignment operator, move=

`operator=` taking `T&&`, which takes another object's contents into an existing one. It returns `*this` and should be `noexcept`.

Where the book teaches it

Related terms

Move constructorCopy assignmentnoexcept