[#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 `<bdld_datum.h>` Return, by value, a datum having the specified `value`, using the specified `allocator` to supply memory (if needed). The array referenced by `value` is not copied, and is not freed if `Datum::destroy` is called on the returned object. The behavior is undefined unless `value.length() <= UINT_MAX`. [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..._]# Return, by value, a datum referring to the specified `array`, having the specified `length`, using the specified `allocator` to supply memory (if needed). `array` is not copied, and is not freed when the returned object is destroyed with `Datum::destroy`. The behavior is undefined unless `array` contains at least `length` elements. The behavior is also undefined unless `length <= UINT_MAX`. [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..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#