Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Deduction guide for basic_string

boost::container::basic_string

Synopsis

// In header: <boost/container/string.hpp>


template<typename InputIterator> 
  basic_string(InputIterator, InputIterator) -> basic_string< typename iterator_traits< InputIterator >::value_type >;

Description

Deduction guide: allows a basic_string to be constructed from the iterator range [first, last), deducing the character type from the value type of InputIterator and using the default allocator.


PrevUpHomeNext