bsl::unordered_map<KEY, VALUE, bsl::hash<KEY>, bsl::equal_to<KEY>, ALLOCATOR>

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

Synopsis

Declared in <bslstl_unorderedmap.h>

template<
    class INPUT_ITERATOR,
    class ALLOCATOR,
    class KEY = BloombergLP::bslstl::IteratorUtil::IterKey_t<INPUT_ITERATOR>,
    class VALUE = BloombergLP::bslstl::IteratorUtil::IterMapped_t<INPUT_ITERATOR>>
requires bsl::IsStdAllocator_v<ALLOCATOR>
unordered_map<KEY, VALUE, bsl::hash<KEY>, bsl::equal_to<KEY>, ALLOCATOR>(
    INPUT_ITERATOR,
    INPUT_ITERATOR,
    bsl::allocator_traits<ALLOCATOR>::size_type,
    ALLOCATOR) -> unordered_map<KEY, VALUE, bsl::hash<KEY>, bsl::equal_to<KEY>, ALLOCATOR>;