BloombergLP::bslstl::HashTable::maxLoadFactor

Return the maximum load factor permitted by this hash table object, where the load factor is the statistical mean number of elements per bucket. Note that this hash table will enforce the maximum load factor by rehashing into a larger array of buckets on any any insertion operation where a successful insertion would exceed the maximum load factor. The maximum load factor may actually be less than the current load factor if the maximum load factor has been reset, but no insert operations have yet occurred.

Synopsis

Declared in <bslstl_hashtable.h>

float
maxLoadFactor() const;