cppreference.com > C++ Maps > upper_bound
upper_bound
Syntax:
  #include <map>
  iterator upper_bound( const key_type& key );

The function upper_bound() returns an iterator to the first element in the map with a key greater than key.