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 an old version of boost. Click here for the latest version's documentation home page.

buffer (6 of 22 overloads)

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

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

const_buffers_1(data, size_in_bytes).