[#bsl-map-0a7-2constructor-090] = xref:bsl.adoc[bsl]::xref:bsl/map-0a7.adoc[map]::map :relfileprefix: ../../ :mrdocs: Create a map from `values` using `basicAllocator`. == Synopsis Declared in `<bslstl_map.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- map( std::initializer_list<value_type> values, ALLOCATOR const& basicAllocator); ---- == Description Create a map containing the elements from the specified `values` initializer list, using the specified `basicAllocator` to supply memory. If `basicAllocator` is 0, the currently installed default allocator is used. == Parameters [cols="1,4"] |=== | Name| Description | *values* | initializer list of elements to insert | *basicAllocator* | allocator used to supply memory |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#