Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Deduction guide for deque

boost::container::deque

Synopsis

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


template<typename InputIterator, typename Allocator> 
  deque(InputIterator, InputIterator, Allocator const &) -> deque< typename iterator_traits< InputIterator >::value_type, Allocator >;

Description

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


PrevUpHomeNext