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.
key_value_pair( key_value_pair&& other);
The pair is constructed by acquiring ownership of the contents of other and shared ownership of other's memory resource.
After construction, the moved-from pair holds an empty key, and a null value with its current storage pointer.
Constant.
No-throw guarantee.
|
Name |
Description |
|---|---|
|
|
The pair to move. |