Deduce the template parameter KEY from the value_type of the iterators supplied to the constructor of set. Deduce the template parameters COMPARATOR and ALLOCATOR from the other parameters passed to the constructor. This guide does not participate unless the supplied (or defaulted) ALLOCATOR meets the requirements of a standard allocator.
Synopsis
Declared in <bslstl_set.h>
template<
class INPUT_ITERATOR,
class KEY = bsl::iterator_traits<INPUT_ITERATOR>::value_type,
class COMPARATOR = std::less<KEY>,
class ALLOCATOR = bsl::allocator<KEY>>
requires !bsl::IsStdAllocator_v<COMPARATOR> && bsl::IsStdAllocator_v<ALLOCATOR>
set<KEY, COMPARATOR, ALLOCATOR>(
INPUT_ITERATOR,
INPUT_ITERATOR,
COMPARATOR,
ALLOCATOR) → set<KEY, COMPARATOR, ALLOCATOR>;
Created with MrDocs