Deduce the template parameters KEY and VALUE from the value_type of the iterators supplied to the constructor of multimap. Deduce the template parameter COMPARATOR from the other parameter passed to the constructor. This deduction guide does not participate unless the supplied allocator is convertible to bsl::allocator<bsl::pair<const KEY, VALUE>>.

Synopsis

Declared in <bslstl_multimap.h>

template<
    class INPUT_ITERATOR,
    class COMPARATOR,
    class ALLOC,
    class KEY = BloombergLP::bslstl::IteratorUtil::IterKey_t<INPUT_ITERATOR>,
    class VALUE = BloombergLP::bslstl::IteratorUtil::IterMapped_t<INPUT_ITERATOR>,
    class DEFAULT_ALLOCATOR = bsl::allocator<pair<KEY const, VALUE>>>
requires bsl::is_convertible_v<ALLOC *, DEFAULT_ALLOCATOR>
multimap<KEY, VALUE, COMPARATOR>(
    INPUT_ITERATOR,
    INPUT_ITERATOR,
    COMPARATOR,
    ALLOC*) → multimap<KEY, VALUE, COMPARATOR>;

Created with MrDocs