[#bsl-map-0a7-2constructor-03] = xref:bsl.adoc[bsl]::xref:bsl/map-0a7.adoc[map]::map :relfileprefix: ../../ :mrdocs: Create a map from `range` using `basicAllocator`. == Synopsis Declared in `<bslstl_map.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class RANGE> map( std::from_range_t tag, RANGE&& range, ALLOCATOR const& basicAllocator); ---- == Description Create a map having the (`value_type`) values obtained from the specified `range`, using the specified `basicAllocator` to supply memory. == Parameters [cols="1,4"] |=== | Name| Description | *tag* | disambiguation tag for range construction | *range* | input range of elements to insert | *basicAllocator* | allocator used to supply memory |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#