[#BloombergLP-bdld-DatumArrayBuilder-commit] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdld.adoc[bdld]::xref:BloombergLP/bdld/DatumArrayBuilder.adoc[DatumArrayBuilder]::commit :relfileprefix: ../../../ :mrdocs: Return a `Datum` array value holding the elements supplied to `pushBack` or `append`. == Synopsis Declared in `<bdld_datumarraybuilder.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdld/Datum.adoc[Datum] commit(); ---- == Description The caller is responsible for releasing the resources of the returned `Datum` object. Calling this method indicates that the caller is finished building the datum array and no further values shall be appended. It is undefined behavior to call any method of this object, other than the destructor, after `commit` has been called. == Return Value `Datum` array holding the elements supplied to this builder [.small]#Created with https://www.mrdocs.com[MrDocs]#