Deduce the template parameter KEY from the value_type of the iterators 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 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_set<KEY>(
INPUT_ITERATOR,
INPUT_ITERATOR,
bsl::allocator_traits<DEFAULT_ALLOCATOR>::size_type,
ALLOC*) → unordered_set<KEY>;
Created with MrDocs