map::equal_range

pair<iterator, iterator> equal_range(const Key& key);
pair<const_iterator, const_iterator>
    equal_range(const Key& key) const;

The member function returns a pair of iterators x such that x.first == lower_bound(key) and x.second == upper_bound(key).