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, typename Compare, typename Allocator, 
         typename = dtl::require_nonallocator_t<Compare>, 
         typename = dtl::require_allocator_t<Allocator> > 
  flat_map(InputIterator, InputIterator, Compare const &, Allocator const &) -> flat_map< it_based_non_const_first_type_t< InputIterator >, it_based_second_type_t< InputIterator >, Compare, Allocator >;

Description

Deduction guide: allows a flat_map to be constructed from the iterator range [first, last), deducing the key and mapped types from InputIterator and taking the comparator and allocator types from the supplied arguments.


PrevUpHomeNext