std::unordered_set<Key,Hash,KeyEqual,Allocator>::load_factor

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

# Declarations

float load_factor() const;

(since C++11)

# Return value

Average number of elements per bucket.

# See also