[#bsl-unordered_multimap-0b0-rehash] = xref:bsl.adoc[bsl]::xref:bsl/unordered_multimap-0b0.adoc[unordered_multimap]::rehash :relfileprefix: ../../ :mrdocs: Rehash this container to have at least `numBuckets` buckets. == Synopsis Declared in `<bslstl_unorderedmultimap.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void rehash(xref:bsl/unordered_multimap-0b0/size_type.adoc[size_type] numBuckets); ---- == Description Change the size of the array of buckets maintained by this container to the specified `numBuckets`, and redistribute all the contained elements into the new sequence of buckets, according to their hash values. Note that this operation has no effect if rehashing the elements into `numBuckets` would cause this unordered multimap to exceed its `max_load_factor`. == Parameters [cols="1,4"] |=== | Name| Description | *numBuckets* | desired number of buckets |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#