Template:cpp/container/load factor

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

Parameters
(none)

Return value
Average number of elements per bucket.

Complexity
Constant.