max_load_factor overloads

Synopses

Declared in <bslstl_unorderedset.h>

Return the maximum load factor allowed for this container. 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 the (see rehash).

float
max_load_factor() const noexcept;

Set the maximum load factor of this container to the specified newLoadFactor.

void
max_load_factor(float newLoadFactor);

Created with MrDocs