Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Deduction guide for flat_multiset

boost::container::flat_multiset

Synopsis

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


template<typename InputIterator, typename AllocatorOrCompare> 
  flat_multiset(ordered_range_t, InputIterator, InputIterator, 
                AllocatorOrCompare const &) -> flat_multiset< it_based_value_type_t< InputIterator >, typename dtl::if_c< dtl::is_allocator< AllocatorOrCompare >::value, std::less< it_based_value_type_t< InputIterator > >, AllocatorOrCompare >::type, typename dtl::if_c< dtl::is_allocator< AllocatorOrCompare >::value, AllocatorOrCompare, new_allocator< it_based_value_type_t< InputIterator > > >::type >;

Description

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


PrevUpHomeNext