bsl::unordered_multiset::max_load_factor

Return the maximum load factor allowed for this container.

Synopsis

Declared in <bslstl_unorderedmultiset.h>

float
max_load_factor() const noexcept;

Description

If an insert operation would cause load_factor to exceed the max_load_factor, that same insert operation will increase the number of buckets and rehash the elements of the container into those buckets (see rehash).

Return Value

current maximum load factor