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 42 overloads)

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

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

mutable_buffer(data, size_in_bytes).