Boost
C++ Libraries
...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) noexcept;
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 boost::container::pmr::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 |