Deduce the template parameters KEY and VALUE from the value_type of the iterators supplied to the constructor of map. This deduction guide does not participate unless the supplied allocator meets the requirements of a standard allocator.

Synopsis

Declared in <bslstl_map.h>

template<
    class INPUT_ITERATOR,
    class ALLOCATOR,
    class KEY = BloombergLP::bslstl::IteratorUtil::IterKey_t<INPUT_ITERATOR>,
    class VALUE = BloombergLP::bslstl::IteratorUtil::IterMapped_t<INPUT_ITERATOR>>
requires bsl::IsStdAllocator_v<ALLOCATOR>
map<KEY, VALUE, std::less<KEY>, ALLOCATOR>(
    INPUT_ITERATOR,
    INPUT_ITERATOR,
    ALLOCATOR) → map<KEY, VALUE, std::less<KEY>, ALLOCATOR>;

Created with MrDocs