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

This is the documentation for a snapshot of the master branch, built from commit c89e626766.
PrevUpHomeNext
basic_flat_buffer::basic_flat_buffer (5 of 10 overloads)

Move Constructor.

Synopsis
basic_flat_buffer(
    basic_flat_buffer&& other);
Description

The container is constructed 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.

Parameters

Name

Description

other

The object to move from. After the move, the moved-from object will have zero capacity, zero readable bytes, and zero writable bytes.

Exception Safety

No-throw guarantee.


PrevUpHomeNext