Node:Operators, Next:Pair, Previous:Core components, Up:Core components
| != (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 |
templateinline 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); }