bsl::unordered_multimap<KEY, VALUE, HASH, EQUAL, ALLOCATOR>

Deduce the template parameters KEY and VALUE from the value_type of the iterators supplied to the constructor of unordered_multimap. Deduce the template parameters HASH, EQUAL and ALLOCATOR from the other parameters passed to the constructor of unordered_multimap. This deduction guide does not participate unless the supplied allocator meets the requirements of a standard allocator.

Synopsis

Declared in <bslstl_unorderedmultimap.h>

template<
    class INPUT_ITERATOR,
    class KEY = BloombergLP::bslstl::IteratorUtil::IterKey_t<INPUT_ITERATOR>,
    class VALUE = BloombergLP::bslstl::IteratorUtil::IterMapped_t<INPUT_ITERATOR>,
    class HASH = bsl::hash<KEY>,
    class EQUAL = bsl::equal_to<KEY>,
    class ALLOCATOR = bsl::allocator<pair<KEY const, VALUE>>>
requires std::is_invocable_v<HASH, const KEY &> && std::is_invocable_v<EQUAL, const KEY &, const KEY &> && bsl::IsStdAllocator_v<ALLOCATOR>
unordered_multimap<KEY, VALUE, HASH, EQUAL, ALLOCATOR>(
    INPUT_ITERATOR,
    INPUT_ITERATOR,
    bsl::allocator_traits<ALLOCATOR>::size_type,
    HASH,
    EQUAL,
    ALLOCATOR) -> unordered_multimap<KEY, VALUE, HASH, EQUAL, ALLOCATOR>;