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

Click here to view the latest version of this 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).