...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Move constructor.
object( object&& other);
The object is constructed by acquiring ownership of the contents of
other
and shared ownership
of other
's memory resource.
After construction, the moved-from object behaves as if newly constructed with its current memory resource.
Constant.
No-throw guarantee.
Name |
Description |
---|---|
|
The object to move. |