◐ Shell
clean mode source ↗

std::set::upper_bound — cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

iterator upper_bound( const Key& key );

const_iterator upper_bound( const Key& key ) const;

Retourne un itérateur pointant sur le premier élément qui est plus 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.

Paramètres

key -

la valeur de clé de comparer les éléments 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.

Retourne la valeur

Itérateur pointant sur le premier élément qui est' plus grande que key. Si aucun élément correspondant n'est trouvé, past-the-end (voir end()) itérateur est renvoyé .

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.

Complexité

Logarithmique de la taille du récipient .

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.

Voir aussi

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]

retourne un itérateur sur le premier élément' pas moins que la valeur donnée

Original:

returns an iterator to the first element not less than the given value

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]