Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Deduction guide for flat_map

boost::container::flat_map

Synopsis

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


template<typename InputIterator> 
  flat_map(ordered_unique_range_t, InputIterator, InputIterator) -> flat_map< it_based_non_const_first_type_t< InputIterator >, it_based_second_type_t< InputIterator > >;

Description

Deduction guide: allows a flat_map to be constructed from an already ordered, unique iterator range [first, last), deducing the key and mapped types from InputIterator and using the default comparator and allocator.


PrevUpHomeNext