...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Move Assignment.
basic_flat_buffer& operator=( basic_flat_buffer&& other);
The container is assigned with the contents of other
using move semantics. The maximum size will be the same as the moved-from
object.
Buffer sequences previously obtained from other
using data
or prepare
remain valid after the
move.
Name |
Description |
---|---|
|
The object to move from. After the move, the moved-from object will have zero capacity, zero readable bytes, and zero writable bytes. |
No-throw guarantee.