std::set::upper_bound
De cppreference.com
<metanoindex/>
<tbody> </tbody> iterator upper_bound( const Key& key ); |
||
const_iterator upper_bound( const Key& key ) const; |
||
Retorna um iterador apontando para o primeiro elemento que é maior do que
key.Original:
Returns an iterator pointing to the first element that is greater than
key.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Parâmetros
| key | - | valor de chave para comparar os elementos de
Original: key value to compare the elements to 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
Iterador apontando para o primeiro elemento que é' maior do que
key. Se nenhum elemento for encontrado, past-the-end (ver end()) iterador é devolvido.Original:
Iterator pointing to the first element that is greater than
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.
You can help to correct and verify the translation. Click here for instructions.
Complexidade
Logarítmica no tamanho do recipiente.
Original:
Logarithmic in the size of the container.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
