std::unordered_map::max_load_factor
De cppreference.com
< cpp | container | unordered map
![]() |
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
float max_load_factor() const; |
(1) | (depuis C++11) |
void max_load_factor( float ml ); |
(2) | (depuis C++11) |
Gère le facteur de charge maximal (nombre d'éléments par seau). Le récipient augmente automatiquement le nombre de seaux si le facteur de charge est supérieure à ce seuil .
1) Original:
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.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Retourne actuelle facteur de charge maximum .
2) Original:
Returns current maximum load factor.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Définit le facteur de charge maximal de
ml
.Original:
Sets the maximum load factor to
ml
.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Sommaire |
[modifier] Paramètres
ml | - | nouveau réglage maximal facteur de charge
Original: new maximum load factor setting The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[modifier] Retourne la valeur
1)courant, facteur de charge maximum .
2) Original:
current maximum load factor.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
aucune .
Original:
none.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[modifier] Complexité
Constante
Original:
Constant
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[modifier] Voir aussi
retourne le nombre moyen d'éléments par seau Original: returns average number of elements per bucket The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (fonction membre publique) |