...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.
basic_multi_buffer( basic_multi_buffer&& other, Allocator const& alloc);
Using alloc
as the allocator
for the new container, the contents of other
are moved. If alloc != other.get_allocator()
, this results in a copy. The maximum
size will be the same as the moved-from object.
Buffer sequences previously obtained from other
using data
or prepare
become invalid 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. |
|
The allocator to use for the object. |
Type |
Thrown On |
---|---|
|
if |