[#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 read‐only view of the specified datum array. [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..._]# == Parameters [cols="1,4"] |=== | Name| Description | *data* | pointer to the first array element | *length* | number of elements in the array |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#