bsl::set<KEY, std::less<KEY>, ALLOCATOR>

Deduce KEY and ALLOCATOR from an iterator-range constructor.

Synopsis

Declared in <bslstl_set.h>

template<
    class INPUT_ITERATOR,
    class ALLOCATOR,
    class KEY = BloombergLP::bslstl::IteratorUtil::IterVal_t<INPUT_ITERATOR>>
requires bsl::IsStdAllocator_v<ALLOCATOR>
set<KEY, std::less<KEY>, ALLOCATOR>(
    INPUT_ITERATOR,
    INPUT_ITERATOR,
    ALLOCATOR) -> set<KEY, std::less<KEY>, ALLOCATOR>;

Description

This deduction guide does not participate unless the supplied allocator meets the requirements of a standard allocator.