59 friend constexpr bool operator==(T
const &lhs, T
const &rhs) {
return *lhs == *rhs; }
61 friend constexpr bool operator!=(T
const &lhs, T
const &rhs) {
return !(lhs == rhs); }
63 friend constexpr bool operator<(T
const &lhs, T
const &rhs) {
return *lhs < *rhs; }
65 friend constexpr bool operator>(T
const &lhs, T
const &rhs) {
return rhs < lhs; }
67 friend constexpr bool operator<=(T
const &lhs, T
const &rhs) {
return !(rhs < lhs); }
69 friend constexpr bool operator>=(T
const &lhs, T
const &rhs) {
return !(lhs < rhs); }
73 friend constexpr bool operator==(T
const &lhs, V
const &rhs) {
return *lhs == rhs; }
76 friend constexpr bool operator!=(T
const &lhs, V
const &rhs) {
return !(lhs == rhs); }
79 friend constexpr bool operator<(T
const &lhs, V
const &rhs) {
return *lhs < rhs; }
82 friend constexpr bool operator>(T
const &lhs, V
const &rhs) {
return !(lhs < rhs) && lhs != rhs; }
85 friend constexpr bool operator<=(T
const &lhs, V
const &rhs) {
return !(rhs < lhs); }
88 friend constexpr bool operator>=(T
const &lhs, V
const &rhs) {
return !(lhs < rhs); }
92 friend constexpr bool operator==(V
const &lhs, T
const &rhs) {
return rhs == lhs; }
95 friend constexpr bool operator!=(V
const &lhs, T
const &rhs) {
return !(lhs == rhs); }
98 friend constexpr bool operator<(V
const &lhs, T
const &rhs) {
return rhs > lhs; }
101 friend constexpr bool operator>(V
const &lhs, T
const &rhs) {
return rhs < lhs; }
104 friend constexpr bool operator<=(V
const &lhs, T
const &rhs) {
return !(rhs < lhs); }
107 friend constexpr bool operator>=(V
const &lhs, T
const &rhs) {
return !(lhs < rhs); }
Implements all the various equality and relational operators for the type T which is assumed to encap...
Definition Operators.h:56
friend constexpr bool operator>=(T const &lhs, T const &rhs)
Definition Operators.h:69
friend constexpr bool operator>(T const &lhs, V const &rhs)
Definition Operators.h:82
friend constexpr bool operator!=(T const &lhs, T const &rhs)
Definition Operators.h:61
friend constexpr bool operator>(T const &lhs, T const &rhs)
Definition Operators.h:65
friend constexpr bool operator>=(V const &lhs, T const &rhs)
Definition Operators.h:107
friend constexpr bool operator>(V const &lhs, T const &rhs)
Definition Operators.h:101
friend constexpr bool operator!=(T const &lhs, V const &rhs)
Definition Operators.h:76
friend constexpr bool operator==(T const &lhs, T const &rhs)
Definition Operators.h:59
friend constexpr bool operator<=(V const &lhs, T const &rhs)
Definition Operators.h:104
friend constexpr bool operator<=(T const &lhs, T const &rhs)
Definition Operators.h:67
friend constexpr bool operator<(T const &lhs, V const &rhs)
Definition Operators.h:79
friend constexpr bool operator==(V const &lhs, T const &rhs)
Definition Operators.h:92
friend constexpr bool operator<(T const &lhs, T const &rhs)
Definition Operators.h:63
friend constexpr bool operator==(T const &lhs, V const &rhs)
Definition Operators.h:73
friend constexpr bool operator>=(T const &lhs, V const &rhs)
Definition Operators.h:88
friend constexpr bool operator<=(T const &lhs, V const &rhs)
Definition Operators.h:85
friend constexpr bool operator!=(V const &lhs, T const &rhs)
Definition Operators.h:95
friend constexpr bool operator<(V const &lhs, T const &rhs)
Definition Operators.h:98
Definition Operators.h:22