[#BloombergLP-bdld-DatumMapBuilder-2constructor-0c]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdld.adoc[bdld]::xref:BloombergLP/bdld/DatumMapBuilder.adoc[DatumMapBuilder]::DatumMapBuilder
:relfileprefix: ../../../
:mrdocs:

Constructors

== Synopses

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

Create a builder for a `Datum` map&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdld/DatumMapBuilder/2constructor-02.adoc[DatumMapBuilder]();
----

[.small]#xref:BloombergLP/bdld/DatumMapBuilder/2constructor-02.adoc[_» more&period;&period;&period;_]#

Create a builder using the specified `allocator`&period;


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

[.small]#xref:BloombergLP/bdld/DatumMapBuilder/2constructor-04.adoc[_» more&period;&period;&period;_]#

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


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

[.small]#xref:BloombergLP/bdld/DatumMapBuilder/2constructor-06.adoc[_» more&period;&period;&period;_]#

== Parameters

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


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