◐ Shell
clean mode source ↗

std::unordered_set::find — cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

iterator find( const Key& key );

const_iterator find( const Key& key ) const;

Recherche un élément avec la clé key.

Original:

Finds an element with key key.

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

Paramètres

key -

la valeur de clé de l'élément à rechercher

Original:

key value of the element to search for

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

Itérateur pour un élément de key clé. Si aucun élément correspondant n'est trouvé, past-the-end (voir end()) itérateur est renvoyé .

Original:

Iterator to an element with key key. If no such element is found, past-the-end (see end()) iterator is returned.

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

Complexité

Amortized constant on average, worst case linear in the size of the container.

Voir aussi

retourne le nombre d'éléments correspondant à la clé spécifiée

Original:

returns the number of elements matching specific key

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]

rendements varient d'éléments correspondant à une clé spécifique

Original:

returns range of elements matching a specific key

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]