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
buffers_prefix_view::buffers_prefix_view (3 of 3 overloads)

Construct a buffer sequence prefix in-place.

Synopsis
template<
    class... Args>
buffers_prefix_view(
    std::size_t size,
    boost::in_place_init_t,
    Args&&... args);
Description Parameters

Name

Description

size

The maximum number of bytes in the prefix. If this is larger than the size of passed buffers, the resulting sequence will represent the entire input sequence.

args

Arguments forwarded to the contained buffer's constructor.


PrevUpHomeNext