Lines Matching refs:rhs

37     Int64& operator+=(Base rhs) { Base lhs = *this; lhs += rhs; *this = lhs; return *this; }
38 Int64& operator-=(Base rhs) { Base lhs = *this; lhs -= rhs; *this = lhs; return *this; }
39 Int64& operator*=(Base rhs) { Base lhs = *this; lhs *= rhs; *this = lhs; return *this; }
40 Int64& operator/=(Base rhs) { Base lhs = *this; lhs /= rhs; *this = lhs; return *this; }
41 Int64& operator%=(Base rhs) { Base lhs = *this; lhs %= rhs; *this = lhs; return *this; }
42 Int64& operator|=(Base rhs) { Base lhs = *this; lhs |= rhs; *this = lhs; return *this; }
43 Int64& operator&=(Base rhs) { Base lhs = *this; lhs &= rhs; *this = lhs; return *this; }
44 Int64& operator^=(Base rhs) { Base lhs = *this; lhs ^= rhs; *this = lhs; return *this; }
45 Int64& operator<<=(int rhs) { Base lhs = *this; lhs <<= rhs; *this = lhs; return *this; }
46 Int64& operator>>=(int rhs) { Base lhs = *this; lhs >>= rhs; *this = lhs; return *this; }
56 bool operator==(Int64 rhs) const { return this->hi == rhs.hi && this->lo == rhs.lo; }
57 bool operator!=(Int64 rhs) const { return !(*this == rhs); }
58 friend bool operator==(Int64 lhs, Base rhs) { return static_cast<Base>(lhs) == rhs; }
59 friend bool operator!=(Int64 lhs, Base rhs) { return !(lhs == rhs); }
60 friend bool operator==(Base lhs, Int64 rhs) { return lhs == static_cast<Base>(rhs); }
61 friend bool operator!=(Base lhs, Int64 rhs) { return !(lhs == rhs); }
63 bool operator<(Int64 rhs) const { return static_cast<Base>(*this) < static_cast<Base>(rhs); }
64 bool operator>(Int64 rhs) const { return rhs < *this; }
65 bool operator<(Base rhs) const { return static_cast<Base>(*this) < rhs; }
66 bool operator>(Base rhs) const { return rhs < *this; }
67 bool operator<=(Int64 rhs) const { return !(*this > rhs); }
68 bool operator>=(Int64 rhs) const { return !(*this < rhs); }
69 bool operator<=(Base rhs) const { return !(static_cast<Base>(*this) > rhs); }
70 bool operator>=(Base rhs) const { return !(static_cast<Base>(*this) < rhs); }