[#BloombergLP-bdld-DatumArrayBuilder-append]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdld.adoc[bdld]::xref:BloombergLP/bdld/DatumArrayBuilder.adoc[DatumArrayBuilder]::append
:relfileprefix: ../../../
:mrdocs:

Append the specified array `values` having the specified `length` to the `Datum` array being built by this object&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
append(
    xref:BloombergLP/bdld/Datum.adoc[Datum] const* values,
    xref:BloombergLP/bdld/DatumArrayBuilder/SizeType.adoc[SizeType] length);
----

== Description

The behavior is undefined unless `0 !&equals; length &amp;&amp; 0 !&equals; values` and each element in `values` that needs dynamic memory, is allocated with the same allocator that was used to construct this object&period; The behavior is also undefined if `commit` has already been called on this object&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *values*
| array of `Datum` elements to append
| *length*
| number of elements in `values`
|===


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