[#BloombergLP-bdlc-HashTable-capacity]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/HashTable.adoc[HashTable]::capacity
:relfileprefix: ../../../
:mrdocs:

Return the maximum number of elements that can be stored in this object&period; Note that this value is computed based on the capacity hint used upon construction&period;

== Synopsis

Declared in `&lt;bdlc&lowbar;hashtable&period;h&gt;`

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

== Return Value

maximum number of elements that can be stored


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