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

Create an integer&hyphen;map reference&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
DatumIntMapRef(
    xref:BloombergLP/bdld/DatumIntMapEntry.adoc[DatumIntMapEntry] const* data,
    xref:BloombergLP/bdld/DatumIntMapRef/SizeType.adoc[SizeType] size,
    bool sorted);
----

== Description

Create a `DatumIntMapRef` object having the specified `data` of the specified `size` and the specified `sorted` flag&period; The behavior is undefined unless `0 !&equals; data` or `0 &equals;&equals; size`&period; Note that the pointer to the array is just copied&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *data*
| pointer to the integer&hyphen;map entries
| *size*
| number of entries in the map
| *sorted*
| flag indicating whether `data` is sorted
|===


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