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

Return the capacity of the held `Datum` array&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdld/DatumArrayBuilder/SizeType.adoc[DatumArrayBuilder::SizeType]
capacity() const;
----

== Description

The behavior is undefined if `commit` has already been called on this object&period; Note that similar to the capacity of a `vector`, the returned capacity has no bearing on the value of the `Datum` array being constructed, but does indicate at which point additional memory will be required to grow the `Datum` array being built&period;

== Return Value

capacity of the held `Datum` array


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