float max_load_factor() const; | (1) | (since C++11) |
void max_load_factor( float ml ); | (2) | (since C++11) |
Manages the maximum load factor (number of elements per bucket). The container automatically increases the number of buckets if the load factor exceeds this threshold.
ml.| ml | - | new maximum load factor setting |
Constant.
| returns average number of elements per bucket (public member function) |
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/container/unordered_set/max_load_factor