[#bsl-multimap-0ae-max_size] = xref:bsl.adoc[bsl]::xref:bsl/multimap-0ae.adoc[multimap]::max_size :relfileprefix: ../../ :mrdocs: Return a theoretical upper bound on the size of this multimap. == Synopsis Declared in `<bslstl_multimap.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/multimap-0ae/size_type.adoc[multimap<KEY, VALUE, COMPARATOR, ALLOCATOR>::size_type] max_size() const noexcept; ---- == Description Return a theoretical upper bound on the largest number of elements that this multimap could possibly hold. Note that there is no guarantee that the 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]#