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

Synopsis

Declared in <bslstl_unorderedmultimap.h>

template<
    class KEY,
    class VALUE,
    class HASH,
    class ALLOC,
    class DEFAULT_ALLOCATOR = bsl::allocator<bsl::pair<KEY const, VALUE>>>
requires bsl::is_convertible_v<ALLOC *, DEFAULT_ALLOCATOR>
unordered_multimap<KEY, VALUE, HASH>(
    std::initializer_list<bsl::pair<KEY const, VALUE>>,
    bsl::allocator_traits<DEFAULT_ALLOCATOR>::size_type,
    HASH,
    ALLOC*) → unordered_multimap<KEY, VALUE, HASH>;

Created with MrDocs