equal_range

Finds the first and last positions where a range of elements based upon a key would be inserted.

  pair<iterator, iterator> equal_range
  (const key_type& x);
  pair<const_iterator, const_iterator> equal_range
  (const_key_type& x) const;
  
Remarks

Returns a pair object that represents the first and last position where a range is found.