[#bsl-unordered_map-02b-rehash] = xref:bsl.adoc[bsl]::xref:bsl/unordered_map-02b.adoc[unordered_map]::rehash :relfileprefix: ../../ :mrdocs: Change the size of the array of buckets maintained by this unordered map to at least the specified `numBuckets`, and redistribute all the contained elements into the new sequence of buckets, according to their hash values. After this call, `load_factor` will be less than or equal to `max_load_factor`. This operation has no effect if rehashing the elements into `numBuckets` would cause this map to exceed its `max_load_factor`. == Synopsis Declared in `<bslstl_unorderedmap.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void rehash(xref:bsl/unordered_map-02b/size_type.adoc[size_type] numBuckets); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#