[#BloombergLP-bdld-DatumMapOwningKeysBuilder-keysCapacity]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdld.adoc[bdld]::xref:BloombergLP/bdld/DatumMapOwningKeysBuilder.adoc[DatumMapOwningKeysBuilder]::keysCapacity
:relfileprefix: ../../../
:mrdocs:

Return the keys&hyphen;capacity of the held `Datum` map (owning keys)&period;

== Synopsis

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

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

== Description

The behavior is undefined if `commit` or `sortAndCommit` 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` being constructed, but does indicate at which point additional memory will be required to grow the `Datum` map being built&period;

== Return Value

keys&hyphen;capacity of the held `Datum` map (owning keys)


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