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