stl:set:equal_range

C++ Reference

equal_range

Syntax:

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

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.