template<class T> bool operator>(const T& x, const T& y); template<class T, class U> bool operator>(const pair<T, U>& x, const pair<T, U>& y);
The template function returns y < x.
y < x
See the related sample program.