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 (5 of 28 overloads)

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

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

mutable_buffers_1(data, size_in_bytes).