[#bsl-hash_set-max_size] = xref:bsl.adoc[bsl]::xref:bsl/hash_set.adoc[hash_set]::max_size :relfileprefix: ../../ :mrdocs: Return an upper bound on the number of elements this set can hold. == Synopsis Declared in `<bslstp_hashset.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/hash_set/size_type.adoc[size_type] max_size() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#