cptr::detail::basic_unordered_map::max_load_factor

Set the maximum load factor, ignoring values that are not positive, and rehash if the map is now over it. If that rehash throws, the old maximum is kept.

Synopses

Declared in <cptr/unordered_map.hpp>

float
max_load_factor() const noexcept;
» more...

Set the maximum load factor, ignoring values that are not positive, and rehash if the map is now over it. If that rehash throws, the old maximum is kept.

void
max_load_factor(float f);
» more...