std::unordered_map::load_factor

From cppreference.com

float load_factor() const;
(since C++11)

Returns the average number of elements per bucket.

Contents

[edit] Parameters

(none)

[edit] Return value

average number of elements per bucket

[edit] Complexity

Constant

[edit] See also

manages maximum average number of elements per bucket
(public member function)