cptr::detail::basic_unordered_map::rehash

Use at least n buckets, and enough for max_load_factor(). The count is rounded up to a power of two. Throws std::length_error if that is more than max_bucket_count(); iterators are invalidated unless the count stays the same.

Synopsis

Declared in <cptr/unordered_map.hpp>

void
rehash(size_type n);