[#bsl-map-0ac] = xref:bsl.adoc[bsl]::xref:bsl/map-0a7.adoc[map<KEY, VALUE, COMPARATOR>] :relfileprefix: ../ :mrdocs: Deduce the template parameters `KEY` and `VALUE` from the `value_type` of the iterators supplied to the constructor of `map`. Deduce the template parameter `COMPARATOR` from the other parameter passed to the constructor. This deduction guide does not participate unless the supplied allocator is convertible to `bsl::allocator<bsl::pair<const KEY, VALUE>>`. == Synopsis Declared in `<bslstl_map.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class INPUT_ITERATOR, class COMPARATOR, class ALLOC, class KEY = xref:BloombergLP/bslstl/IteratorUtil/IterKey_t.adoc[BloombergLP::bslstl::IteratorUtil::IterKey_t<INPUT_ITERATOR>], class VALUE = xref:BloombergLP/bslstl/IteratorUtil/IterMapped_t.adoc[BloombergLP::bslstl::IteratorUtil::IterMapped_t<INPUT_ITERATOR>], class DEFAULT_ALLOCATOR = xref:bsl/allocator-0df.adoc[bsl::allocator<pair<KEY const, VALUE>>]> requires bsl::is_convertible_v<ALLOC *, DEFAULT_ALLOCATOR> xref:bsl/map-0a7.adoc[map<KEY, VALUE, COMPARATOR>]( INPUT_ITERATOR, INPUT_ITERATOR, COMPARATOR, ALLOC*) -> xref:bsl/map-0a7.adoc[map<KEY, VALUE, COMPARATOR>]; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#