◐ Shell
clean mode source ↗

std::unordered_map::max_load_factor – cppreference.com

Aus cppreference.com

<metanoindex/>

<tbody> </tbody>

float max_load_factor() const;

(1) (seit C++11)

void max_load_factor( float ml );

(2) (seit C++11)

Verwaltet die maximale Auslastung (Anzahl der Elemente pro Eimer). Der Behälter erhöht sich automatisch die Anzahl der Gruppen, wenn der Lastfaktor diesen Schwellenwert überschreitet .

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)

Gibt die aktuelle maximale Auslastung .

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)

Legt die maximale Auslastung auf 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.

Parameter

ml -

neue maximale Auslastung Einstellung

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.

Rückgabewert

1)

aktuelle maximale Auslastung .

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)

keine .

Original:

none.

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Komplexität

Constant

Original:

Constant

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Siehe auch

kehrt durchschnittliche Anzahl von Elementen pro Eimer

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.


(öffentliche Elementfunktion) [edit]