|  | Home | Libraries | People | FAQ | More | 
         
The boost::asio::dynamic_buffer
        function is used to create a dynamically resized buffer from a std::basic_string
        or std::vector.
      
template<
    typename Elem,
    typename Traits,
    typename Allocator>
dynamic_string_buffer< Elem, Traits, Allocator > dynamic_buffer(
    std::basic_string< Elem, Traits, Allocator > & data);
  » more...
template<
    typename Elem,
    typename Traits,
    typename Allocator>
dynamic_string_buffer< Elem, Traits, Allocator > dynamic_buffer(
    std::basic_string< Elem, Traits, Allocator > & data,
    std::size_t max_size);
  » more...
template<
    typename Elem,
    typename Allocator>
dynamic_vector_buffer< Elem, Allocator > dynamic_buffer(
    std::vector< Elem, Allocator > & data);
  » more...
template<
    typename Elem,
    typename Allocator>
dynamic_vector_buffer< Elem, Allocator > dynamic_buffer(
    std::vector< Elem, Allocator > & data,
    std::size_t max_size);
  » more...
        Header: boost/asio/buffer.hpp
      
        Convenience header: boost/asio.hpp