Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Deduction guide for vector

boost::container::vector

Synopsis

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


template<typename InputIterator> 
  vector(InputIterator, InputIterator) -> vector< typename iter_value< InputIterator >::type >;

Description

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


PrevUpHomeNext