close
Varianti

std::set::find

Da cppreference.com.

<metanoindex/>

 
 
 
std::set
Membri funzioni
Original:
Member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
set::set
set::~set
set::operator=
set::get_allocator
Iteratori
Original:
Iterators
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
set::begin
set::cbegin

(C++11)
set::end
set::cend

(C++11)
set::rbegin
set::crbegin

(C++11)
set::rend
set::crend

(C++11)
Capacità
Original:
Capacity
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
set::empty
set::size
set::max_size
Modificatori
Original:
Modifiers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
set::clear
set::insert
set::emplace(C++11)
set::emplace_hint(C++11)
set::erase
set::swap
Lookup
Original:
Lookup
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
set::count
set::find
set::equal_range
set::lower_bound
set::upper_bound
Osservatori
Original:
Observers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
set::key_comp
set::value_comp
 
<tbody> </tbody>
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.

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.

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.

Complessità

Logarithmic in the size of the container.

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]