lower_bound
De cppreference.com.
Syntaxe:
#include <set> iterator lower_bound( const key_type& key ); const_iterator lower_bound( const key_type& key ) const;
La fonction lower_bound() renvoi un itérateur vers le premier élément qui a une valeur plus grande ou égale à la clef.
lower_bound() fonctionne en temps logarithmique.
Sections en rapport: upper_bound