[#BloombergLP-bdld-DatumMapRef-2constructor] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdld.adoc[bdld]::xref:BloombergLP/bdld/DatumMapRef.adoc[DatumMapRef]::DatumMapRef :relfileprefix: ../../../ :mrdocs: Create a `DatumMapRef` object having the specified `data` of the specified `size` and the specified `sorted` and `ownsKeys` flags. The behavior is undefined unless `0 != data` or `0 == size`. Note that the pointer to the array is just copied. == Synopsis Declared in `<bdld_datum.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- DatumMapRef( xref:BloombergLP/bdld/DatumMapEntry.adoc[DatumMapEntry] const* data, xref:BloombergLP/bdld/DatumMapRef/SizeType.adoc[SizeType] size, bool sorted, bool ownsKeys); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#