Namespaces
Variants
Views
Actions

std::unordered_set::load_factor

From cppreference.com
< cpp‎ | container‎ | unordered set
Revision as of 18:23, 2 November 2012 by P12bot (Talk | contribs)

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

Returns the average number of elements per bucket.

Contents

Parameters

(none)

Return value

Average number of elements per bucket.

Complexity

Constant.

See also

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