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

Return, by value, a datum having the specified `value`, using the specified `allocator` to supply memory (if needed)&period; The array referenced by `value` is not copied, and is not freed if `Datum&colon;&colon;destroy` is called on the returned object&period; The behavior is undefined unless `value&period;length() &lt;&equals; UINT&lowbar;MAX`&period;

== Synopsis

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

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


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