...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Move bytes from the output sequence to the input sequence.
void commit( std::size_t n);
Name |
Description |
---|---|
|
The number of bytes to move. If this is larger than the number of bytes in the output sequences, then the entire output sequences is moved. |
All previous buffers sequences obtained from calls to basic_flat_buffer::data
or basic_flat_buffer::prepare
are invalidated.