[#bsl-unordered_map-02b-2constructor-00]
= xref:bsl.adoc[bsl]::xref:bsl/unordered_map-02b.adoc[unordered&lowbar;map]::unordered&lowbar;map
:relfileprefix: ../../
:mrdocs:

Create an unordered map from `&lsqb;first, last)&rsqb;` with bucket count&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class INPUT&lowbar;ITERATOR&gt;
unordered&lowbar;map(
    INPUT&lowbar;ITERATOR first,
    INPUT&lowbar;ITERATOR last,
    xref:bsl/unordered_map-02b/size_type.adoc[size&lowbar;type] initialNumBuckets,
    ALLOCATOR const& basicAllocator);
----

== Description

Same as the preceding overload&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *first*
| start of the range
| *last*
| end of the range (one past last)
| *initialNumBuckets*
| initial number of buckets
| *basicAllocator*
| allocator used to supply memory
|===


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