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

PrevUpHomeNext

buffer_sequence_begin

The boost::asio::buffer_sequence_begin function returns an iterator pointing to the first element in a buffer sequence.

Get an iterator to the first element in a buffer sequence.

template<
    typename MutableBuffer>
const mutable_buffer * buffer_sequence_begin(
    const MutableBuffer & b,
    typename constraint< is_convertible< const MutableBuffer *, const mutable_buffer * >::value >::type  = 0);
  » more...

template<
    typename ConstBuffer>
const const_buffer * buffer_sequence_begin(
    const ConstBuffer & b,
    typename constraint< is_convertible< const ConstBuffer *, const const_buffer * >::value >::type  = 0);
  » more...

template<
    typename C>
auto buffer_sequence_begin(
    C & c,
    typename constraint< !is_convertible< const C *, const mutable_buffer * >::value &&!is_convertible< const C *, const const_buffer * >::value >::type  = 0);
  » more...

template<
    typename C>
auto buffer_sequence_begin(
    const C & c,
    typename constraint< !is_convertible< const C *, const mutable_buffer * >::value &&!is_convertible< const C *, const const_buffer * >::value >::type  = 0);
  » more...

Get an iterator to the first element in a buffer sequence.

const mutable_buffer * buffer_sequence_begin(
    const mutable_registered_buffer & b);
  » more...

const const_buffer * buffer_sequence_begin(
    const const_registered_buffer & b);
  » more...
Requirements

Header: boost/asio/buffer.hpp

Convenience header: boost/asio.hpp


PrevUpHomeNext