operator ==

The pair equality operator returns true if each pair argument is equal to the other.

  template <class T1, class T2>

  bool operator==(const pair<T1, T2>& x, const pair<T1, T2>& y);