explicit buffer_sequence_adaptor(BufferSequence const& buffers)
     : it_(buffers.begin())
     , it_end_(buffers.end())
     , current_buffer_(
             it_ != it_end_
             ? boost::asio::mutable_buffer(*it_)
             : boost::asio::mutable_buffer{})
 {
 }
Esempio n. 2
0
 const_iterator
 begin() const
 {
     return buffers_->begin();
 }