Syntax:
#include <map> iterator upper_bound( const key_type& key ); const_iterator upper_bound( const key_type& key ) const;
The function upper_bound() returns an iterator to the first element in the multimap with a key greater than key.
Related Topics: lower_bound