Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Function template list

boost::container::list

Synopsis

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


template<typename InputIterator, typename ValueAllocator> 
   list(InputIterator, InputIterator, ValueAllocator const &);

Description

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