std::unordered_map::max_load_factor - cppreference.com
De cppreference.com
<metanoindex/>
<tbody> </tbody>
|
|
(1) | (desde C++11) |
|
|
(2) | (desde C++11) |
Gerencia o fator de carga máxima (número de elementos por balde). O recipiente aumenta automaticamente o número de depósitos, se o fator de carga exceder o limite.
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)
Retorna fator de carga máxima atual.
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)
Define o fator de carga máxima para 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.
Parâmetros
| ml | - | definição de novo fator máximo de carga Original: new maximum load factor setting The text has been machine-translated via Google Translate. |
Valor de retorno
1)
fator de carga máxima atual.
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)
nenhum.
Original:
none.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Complexidade
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.
Veja também
retorna número médio de elementos por balde Original: returns average number of elements per bucket The text has been machine-translated via Google Translate. (função pública membro) [edit] | |