Boost C++ Libraries 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.

buffer (6 of 42 overloads)

Create a new non-modifiable buffer that represents the given memory range.

const_buffer buffer(
    const void * data,
    std::size_t size_in_bytes);
Return Value

const_buffer(data, size_in_bytes).