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