[#BloombergLP-bdld-DatumIntMapBuilder-2constructor-03d]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdld.adoc[bdld]::xref:BloombergLP/bdld/DatumIntMapBuilder.adoc[DatumIntMapBuilder]::DatumIntMapBuilder
:relfileprefix: ../../../
:mrdocs:

Create a builder with the specified `initialCapacity`, optionally using the specified `allocator`&period;

== Synopsis

Declared in `&lt;bdld&lowbar;datumintmapbuilder&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
DatumIntMapBuilder(
    xref:BloombergLP/bdld/DatumIntMapBuilder/SizeType.adoc[SizeType] initialCapacity,
    xref:BloombergLP/bdld/DatumIntMapBuilder/allocator_type.adoc[allocator&lowbar;type] const& allocator = allocator&lowbar;type());
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *initialCapacity*
| initial capacity of the int&hyphen;map
| *allocator*
| allocator used to supply memory
|===


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