Share via


concurrent_unordered_multimap::max_load_factor Method

Gets or sets the maximum load factor of the container. The maximum load factor is the largest number of elements than can be in any bucket before the container grows its internal table.

float max_load_factor() const;

void max_load_factor(
   float _Newmax
);

Parameters

  • _Newmax

Return Value

The first member function returns the stored maximum load factor. The second member function does not return a value but throws an out_of_range exception if the supplied load factor is invalid..

Requirements

Header: internal_concurrent_hash.h

Namespace: concurrency

See Also

Reference

concurrent_unordered_multimap Class