[#bsl-map-0a7-2constructor-090]
= xref:bsl.adoc[bsl]::xref:bsl/map-0a7.adoc[map]::map
:relfileprefix: ../../
:mrdocs:

Create a map containing the elements from the specified `values` initializer list, using the specified `basicAllocator` to supply memory&period; If `basicAllocator` is 0, the currently installed default allocator is used&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;map&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
map(
    std::initializer&lowbar;list&lt;value&lowbar;type&gt; values,
    ALLOCATOR const& basicAllocator);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
