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

Synopsis

Declared in <bslstl_unorderedset.h>

template<
    class KEY,
    class ALLOC,
    class DEFAULT_ALLOCATOR = bsl::allocator<KEY>>
requires bsl::is_convertible_v<ALLOC *, DEFAULT_ALLOCATOR>
unordered_set<KEY>(
    std::initializer_list<KEY>,
    bsl::allocator_traits<DEFAULT_ALLOCATOR>::size_type,
    ALLOC*) → unordered_set<KEY>;

Created with MrDocs