Deduce the template parameter KEY from the value_type of the iterators supplied to the constructor of unordered_multiset. This deduction guide does not participate unless the supplied allocator is convertible to bsl::allocator<KEY>.

Synopsis

Declared in <bslstl_unorderedmultiset.h>

template<
    class INPUT_ITERATOR,
    class KEY = BloombergLP::bslstl::IteratorUtil::IterVal_t<INPUT_ITERATOR>,
    class ALLOC,
    class DEFAULT_ALLOCATOR = bsl::allocator<KEY>>
requires bsl::is_convertible_v<ALLOC *, DEFAULT_ALLOCATOR>
unordered_multiset<KEY>(
    INPUT_ITERATOR,
    INPUT_ITERATOR,
    bsl::allocator_traits<DEFAULT_ALLOCATOR>::size_type,
    ALLOC*) → unordered_multiset<KEY>;

Created with MrDocs