[#BloombergLP-bdld-Datum-createArrayReference-02]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdld.adoc[bdld]::xref:BloombergLP/bdld/Datum.adoc[Datum]::createArrayReference
:relfileprefix: ../../../
:mrdocs:

`createArrayReference` overloads

== Synopses

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

Return a datum referring to the array described by `value`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bdld/Datum.adoc[Datum]
xref:BloombergLP/bdld/Datum/createArrayReference-0f.adoc[createArrayReference](
    xref:BloombergLP/bdld/DatumArrayRef.adoc[DatumArrayRef] const& value,
    xref:BloombergLP/bdld/Datum/AllocatorType.adoc[AllocatorType] const& allocator);
----

[.small]#xref:BloombergLP/bdld/Datum/createArrayReference-0f.adoc[_» more&period;&period;&period;_]#

Return a datum referring to the specified array without copying it&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bdld/Datum.adoc[Datum]
xref:BloombergLP/bdld/Datum/createArrayReference-0b.adoc[createArrayReference](
    xref:BloombergLP/bdld/Datum.adoc[Datum] const* array,
    xref:BloombergLP/bdld/Datum/SizeType.adoc[SizeType] length,
    xref:BloombergLP/bdld/Datum/AllocatorType.adoc[AllocatorType] const& allocator);
----

[.small]#xref:BloombergLP/bdld/Datum/createArrayReference-0b.adoc[_» more&period;&period;&period;_]#

== Return Value

* a datum referring to the array described by `value`
* a datum referring to the specified array without copying it

== Parameters

[cols="1,4"]
|===
| Name| Description
| *value*
| array reference to wrap
| *allocator*
| memory allocator to use
| *array*
| array of `Datum` values to reference
| *length*
| number of elements in `array`
|===


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