[#BloombergLP-bslstl-HashTable-maxLoadFactor]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/HashTable.adoc[HashTable]::maxLoadFactor
:relfileprefix: ../../../
:mrdocs:

Return the maximum load factor permitted by this hash table&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;hashtable&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
float
maxLoadFactor() const;
----

== Description

Return the maximum load factor permitted by this hash table object, where the load factor is the statistical mean number of elements per bucket&period; 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&period; 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&period;

== Return Value

maximum load factor permitted by this hash table


[.small]#Created with https://www.mrdocs.com[MrDocs]#
