equal_range [C++ Reference]
Keywords: stl,multiset,equal_range
Date: 2009-10-09T06:11:13-0700

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

- en
- br-pt
- cn
- cz
- de
- es
- fr
- it
- jp
- nl
- pl
- ro
- ru
- sk
- tr
- tw

## equal_range

Syntax:

        #include <set>
        pair<iterator, iterator> equal_range( const key_type& key );
        pair<const_iterator, const_iterator> equal_range( const key_type& key ) const;

The function equal_range() returns two iterators - one to the first element that contains key, another to a point just after the last element that contains key.

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