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

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 enable_if< is_convertible< const MutableBuffer *, const mutable_buffer * >::value >::type *  = 0);
  » more...

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

template<
    typename C>
auto buffer_sequence_begin(
    C & c,
    typename enable_if< !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 enable_if< !is_convertible< const C *, const mutable_buffer * >::value &&!is_convertible< const C *, const const_buffer * >::value >::type *  = 0);
  » more...
Requirements

Header: boost/asio/buffer.hpp

Convenience header: boost/asio.hpp


PrevUpHomeNext