◐ Shell
clean mode source ↗

std::unordered_map::bucket - cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

size_type bucket( const Key& key ) const;

(desde C++11)

Retorna o índice balde para o key chave.

Original:

Returns the bucket index for the key key.

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

Parâmetros

key -

o valor da chave de examinar

Original:

the value of the key to examine

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

Valor de retorno

índice de balde para o key chave.

Original:

bucket index for the key key.

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

devolve o número de elementos no balde específico

Original:

returns the number of elements in specific bucket

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


(função pública membro) [edit]