المتغيرات
فضاءات التسمية
أفعال

std::{{{1}}}::max_load_factor

من cppreference.com
float max_load_factor() const;
(1) (since C++11)
void max_load_factor( float ml );
(2) (since C++11)

Manages the maximum load factor (number of elements per bucket). The container automatically increases the number of buckets if the load factor exceeds this threshold.

1) Returns current maximum load factor.

2) Sets the maximum load factor to ‎ml‎.

محتويات

[تعديل] Parameters

ml - new maximum load factor setting

[تعديل] Return value

1) current maximum load factor.

2) none.

[تعديل] Complexity

Constant

[تعديل] See also

قالب:dsc mem fun