[#bsl-unordered_set-09-max_load_factor-0d] = xref:bsl.adoc[bsl]::xref:bsl/unordered_set-09.adoc[unordered_set<Attribute, AttributeHash>]::max_load_factor :relfileprefix: ../../ :mrdocs: `max_load_factor` overloads == Synopses Declared in `<bslstl_unorderedset.h>` Return the maximum load factor allowed for this container. If an insert operation would cause `load_factor` to exceed the `max_load_factor`, that same insert operation will increase the number of buckets and rehash the elements of the container into those buckets the (see rehash). [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- float xref:bsl/unordered_set-09/max_load_factor-0b.adoc[max_load_factor]() const noexcept; ---- [.small]#xref:bsl/unordered_set-09/max_load_factor-0b.adoc[_» more..._]# Set the maximum load factor of this container to the specified `newLoadFactor`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:bsl/unordered_set-09/max_load_factor-00.adoc[max_load_factor](float newLoadFactor); ---- [.small]#xref:bsl/unordered_set-09/max_load_factor-00.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#