...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.
string( string&& other);
Constructs the string with the contents of other
using move semantics. Ownership of the underlying memory is transferred.
The container acquires shared ownership of the memory_resource
used by other
. After construction, the moved-from
string behaves as if newly constructed with its current memory resource.
Constant.
Name |
Description |
---|---|
|
The string to move |