Deduce the template parameter KEY from the value_type of the iterators supplied to the constructor of set. Deduce the template parameter COMPARATOR from the other parameter passed to the constructor. This deduction guide does not participate unless the specified ALLOC is convertible to bsl::allocator<KEY>.
Declared in <bslstl_set.h>
template<
class INPUT_ITERATOR,
class COMPARATOR,
class ALLOC,
class KEY = BloombergLP::bslstl::IteratorUtil::IterVal_t<INPUT_ITERATOR>,
class DEFAULT_ALLOCATOR = bsl::allocator<KEY>>
requires bsl::is_convertible_v<ALLOC *, DEFAULT_ALLOCATOR>
set<KEY, COMPARATOR>(
INPUT_ITERATOR,
INPUT_ITERATOR,
COMPARATOR,
ALLOC*) -> set<KEY, COMPARATOR>;