◐ Shell
clean mode source ↗

std::unordered_set::max_load_factor — cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

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 .

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.

1)

Retourne actuelle facteur de charge maximum .

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.

2)

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.

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.

Retourne la valeur

1)

courant, facteur de charge maximum .

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.

2)

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.

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.

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) [edit]