Namespace
Varianti

std::{{{1}}}::find

Da cppreference.com.

iterator find( const Key& key );
const_iterator find( const Key& key ) const;
Trova un elemento con key chiave.
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.

Indice

[modifica] Parametri

key -
valore della chiave dell'elemento da cercare
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.

[modifica] Valore di ritorno

Iterator di un elemento con key chiave. Se tale elemento non viene trovato, past-the-end (vedi end()) iteratore viene restituito.
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.

[modifica] Complessità

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

[modifica] Vedi anche

mihai are mere
restituisce il numero di elementi corrispondenti chiave specifica
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.

(metodo pubblico) [modifica]