concurrent_unordered_multimap::max_load_factor Method
Collapse the table of content
Expand the table of content

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
);

_Newmax

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

Show:
© 2016 Microsoft