[#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‐capacity of the held `Datum` map (owning keys). The behavior is undefined if `commit` or `sortAndCommit` has already been called on this object. 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. == Synopsis Declared in `<bdld_datummapowningkeysbuilder.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdld/DatumMapOwningKeysBuilder/SizeType.adoc[DatumMapOwningKeysBuilder::SizeType] keysCapacity() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#