Boost C++ Libraries

...one 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.
PrevUpHomeNext
ref (2 of 4 overloads)

Create a buffer_ref for flat_static_buffer.

Synopsis

Defined in header <boost/beast/core/buffer_ref.hpp>

template<
    std::size_t N>
buffer_ref< flat_static_buffer< N > >
ref(
    flat_static_buffer< N >& buf);

PrevUpHomeNext