[#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 `&lt;bdld&lowbar;datum&period;h&gt;`

Create a `DatumArrayRef` object representing an empty array&period;


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

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

Create a read&hyphen;only view of the specified datum array&period;


[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&period;&period;&period;_]#

== 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]#
