[#BloombergLP-bdld-DatumMapBuilder-capacity] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdld.adoc[bdld]::xref:BloombergLP/bdld/DatumMapBuilder.adoc[DatumMapBuilder]::capacity :relfileprefix: ../../../ :mrdocs: Return the capacity of the held `Datum` map. 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_datummapbuilder.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdld/DatumMapBuilder/SizeType.adoc[DatumMapBuilder::SizeType] capacity() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#