| Home | Libraries | People | FAQ | More

### 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`