[#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. Note that this value is computed based on the capacity hint used upon construction. == Synopsis Declared in `<bdlc_hashtable.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bsls/Types/Int64.adoc[bsls::Types::Int64] capacity() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#