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{})
 {
 }
示例#2
0
 const_iterator
 end() const
 {
     return buffers_->end();
 }