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 and ALLOCATOR from the other parameters passed to the constructor of unordered_multimap. This deduction guide does not participate unless the supplied hash is invokable with a KEY, and the supplied allocator meets the requirements of a standard allocator.
Synopsis
Declared in <bslstl_unorderedmultimap.h>
template<
class INPUT_ITERATOR,
class HASH,
class ALLOCATOR,
class KEY = BloombergLP::bslstl::IteratorUtil::IterKey_t<INPUT_ITERATOR>,
class VALUE = BloombergLP::bslstl::IteratorUtil::IterMapped_t<INPUT_ITERATOR>>
requires std::is_invocable_v<HASH, const KEY &> && bsl::IsStdAllocator_v<ALLOCATOR>
unordered_multimap<KEY, VALUE, HASH, bsl::equal_to<KEY>, ALLOCATOR>(
INPUT_ITERATOR,
INPUT_ITERATOR,
bsl::allocator_traits<ALLOCATOR>::size_type,
HASH,
ALLOCATOR) → unordered_multimap<KEY, VALUE, HASH, bsl::equal_to<KEY>, ALLOCATOR>;
Created with MrDocs