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

Load the specified `result` with a reference to a newly created datum array having the specified `capacity`, using the specified `allocator` to supply memory&period; The behavior is undefined if `capacity` `Datum` objects would exceed the addressable memory for the platform&period; Note that the caller is responsible for filling in elements into the datum array and setting its length accordingly&period; The number of elements in the datum array cannot exceed `capacity`&period; Also note that any elements in the datum array that need dynamic memory must be allocated with `allocator`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
void
createUninitializedArray(
    xref:BloombergLP/bdld/DatumMutableArrayRef.adoc[DatumMutableArrayRef]* result,
    xref:BloombergLP/bdld/Datum/SizeType.adoc[SizeType] capacity,
    xref:BloombergLP/bdld/Datum/AllocatorType.adoc[AllocatorType] const& allocator);
----


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