upper_bound [C++ Reference]
Keywords: stl,map,upper_bound
Date: 2008-10-14T15:42:07-0700

[[upper_bound]]
C++ Reference
Translations of this page?:

- en
- br-pt
- cn
- fr
- it
- jp
- pl
- ru
- tr

## 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.

Related Topics: lower_bound

Edit this page • Old revisions
• • • Login • Index • Recent changes • RSS • cc •