std::unordered_map<Key,T,Hash,KeyEqual,Allocator>::load_factor
From cppreference.com
< cpp | container | unordered map
float load_factor() const; |
(since C++11) | |
Returns the average number of elements per bucket, that is, size() divided by bucket_count().
Parameters
(none)
Return value
Average number of elements per bucket.
Complexity
Constant.
See also
(C++11) |
manages maximum average number of elements per bucket (public member function) |