Share via


concurrent_unordered_map::load_factor Method

Computes and returns the current load factor of the container. The load factor is the number of elements in the container divided by the number of buckets.

float load_factor( ) const;

Return Value

The load factor for the container.

Requirements

Header: internal_concurrent_hash.h

Namespace: concurrency

See Also

Reference

concurrent_unordered_map Class