Namespaces
Variants
Views
Actions

std::{{{1}}}::load_factor

From cppreference.com
float load_factor() const;
(since {std})

Returns the average number of elements per bucket, that is, size() divided by bucket_count().

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 of std::{{{1}}}) [edit]