...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Returns the first buffer in a buffer sequence.
Defined in header <boost/beast/core/buffers_prefix.hpp>
template< class BufferSequence> buffers_type< BufferSequence > buffers_front( BufferSequence const& buffers);
This returns the first buffer in the buffer sequence. If the buffer sequence is an empty range, the returned buffer will have a zero buffer size.
Name |
Description |
---|---|
|
The buffer sequence. If the sequence is mutable, the returned buffer sequence will also be mutable. Otherwise, the returned buffer sequence will be constant. |