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 an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext
static_buffer::commit

Move bytes from the output sequence to the input sequence.

Synopsis
void
commit(
    std::size_t size);
Description
Parameters

Name

Description

size

The number of bytes to commit. If this is greater than the size of the output sequence, the entire output sequence is committed.


PrevUpHomeNext