Operators

!= (const T1& x, const T2& y) Operator on T1, T2
> (const T1& x, const T2& y)

Operator on T1, T2

<= (const T1& x, const T2& y) Operator on T1, T2
>= (const T1& x, const T2& y)

Operator on T1, T2

To avoid redundant definitions of operator!= out of operator== and operators>, <=, and >= out of operator< the library provides the following:

template 
inline bool operator!=(const T1& x, const T2& y) {
    return !(x == y);
}

template 
inline bool operator>(const T1& x, const T2& y) {
    return y < x;
}

template 
inline bool operator<=(const T1& x, const T2& y) {
    return !(y < x);
}

template 
inline bool operator>=(const T1& x, const T2& y) {
    return !(x < y);
}