Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Function template map

boost::container::map

Synopsis

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


template<typename InputIterator, typename AllocatorOrCompare> 
   map(ordered_unique_range_t, InputIterator, InputIterator, 
       AllocatorOrCompare const &);

Description

Deduction guide: allows a map to be constructed from an already ordered, unique iterator range [first, last), deducing the key and mapped types from InputIterator. The trailing argument is used as the allocator if it is an allocator type, otherwise it is used as the comparator.


PrevUpHomeNext