Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Deduction guide for flat_multimap

boost::container::flat_multimap

Synopsis

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


template<typename InputIterator, typename AllocatorOrCompare> 
  flat_multimap(InputIterator, InputIterator, AllocatorOrCompare const &) -> flat_multimap< it_based_non_const_first_type_t< InputIterator >, it_based_second_type_t< InputIterator >, typename dtl::if_c< dtl::is_allocator< AllocatorOrCompare >::value, std::less< it_based_non_const_first_type_t< InputIterator > >, AllocatorOrCompare >::type, typename dtl::if_c< dtl::is_allocator< AllocatorOrCompare >::value, AllocatorOrCompare, new_allocator< std::pair< it_based_non_const_first_type_t< InputIterator >, it_based_second_type_t< InputIterator > > > >::type >;

Description

Deduction guide: allows a flat_multimap to be constructed from the 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