[#bsl-unordered_map-02b-max_size] = xref:bsl.adoc[bsl]::xref:bsl/unordered_map-02b.adoc[unordered_map]::max_size :relfileprefix: ../../ :mrdocs: Return a theoretical upper bound on the largest number of elements that this unordered map could possibly hold. Note that there is no guarantee that the unordered map can successfully grow to the returned size, or even close to that size, without running out of resources. == Synopsis Declared in `<bslstl_unorderedmap.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/unordered_map-02b/size_type.adoc[size_type] max_size() const noexcept; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#