std::unordered_set::load_factor

From Cppreference

Jump to: navigation, search
float load_factor() const;
(C++11 feature)

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

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