[#BloombergLP-bdld-DatumArrayRef-2constructor-09] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdld.adoc[bdld]::xref:BloombergLP/bdld/DatumArrayRef.adoc[DatumArrayRef]::DatumArrayRef :relfileprefix: ../../../ :mrdocs: Constructors == Synopses Declared in `<bdld_datum.h>` Create a `DatumArrayRef` object representing an empty array. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdld/DatumArrayRef/2constructor-03.adoc[DatumArrayRef](); ---- [.small]#xref:BloombergLP/bdld/DatumArrayRef/2constructor-03.adoc[_» more..._]# Create a `DatumArrayRef` object having the specified `data` and `length`. The behavior is undefined unless `0 != data` or `0 == length`. Note that the pointer to the array is just copied. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdld/DatumArrayRef/2constructor-07.adoc[DatumArrayRef]( xref:BloombergLP/bdld/Datum.adoc[Datum] const* data, xref:BloombergLP/bdld/DatumArrayRef/SizeType.adoc[SizeType] length); ---- [.small]#xref:BloombergLP/bdld/DatumArrayRef/2constructor-07.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#