bsl::map<KEY, VALUE, std::less<KEY>, ALLOCATOR>

Deduce the template parameters KEY and VALUE from the value_type of the initializer_list supplied to the constructor of map. Deduce the template parameter ALLOCATOR from the other parameter passed to the constructor. 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 KEY,
    class VALUE,
    class ALLOCATOR>
requires bsl::IsStdAllocator_v<ALLOCATOR>
map<KEY, VALUE, std::less<KEY>, ALLOCATOR>(
    std::initializer_list<pair<KEY const, VALUE>>,
    ALLOCATOR) -> map<KEY, VALUE, std::less<KEY>, ALLOCATOR>;