Next : Pair, Previous : Core components, Top :Table of Contents
!= (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 |
operator!=
out of
operator==
and
operators>
,
<=
, and
>=
out of
operator<
the library provides the following:
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); }
|