Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Deduction guide for stable_vector

boost::container::stable_vector

Synopsis

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


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

Description

Deduction guide: allows a stable_vector 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