template<class Ty1, class Ty2> bool operator==(const pair<Ty1, Ty2>& left, const pair<Ty1, Ty2>& right);
The template function returns left.first == right.first && left.second == right.second.