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 meets the requirements of a standard allocator.
Synopsis
Declared in <bslstl_unorderedset.h>
template<
class INPUT_ITERATOR,
class ALLOCATOR,
class KEY = BloombergLP::bslstl::IteratorUtil::IterVal_t<INPUT_ITERATOR>>
requires bsl::IsStdAllocator_v<ALLOCATOR>
unordered_set<KEY, bsl::hash<KEY>, bsl::equal_to<KEY>, ALLOCATOR>(
INPUT_ITERATOR,
INPUT_ITERATOR,
bsl::allocator_traits<ALLOCATOR>::size_type,
ALLOCATOR) → unordered_set<KEY, bsl::hash<KEY>, bsl::equal_to<KEY>, ALLOCATOR>;
Created with MrDocs