Lines Matching refs:MyBool
86 struct MyBool { struct
88 constexpr explicit MyBool(bool v) : value(v) {} in MyBool() argument
95 inline constexpr MyBool operator==(const ComparesToMyBool& LHS, const ComparesToMyBool& RHS) noexce… in operator ==() argument
96 return MyBool(LHS.value == RHS.value); in operator ==()
98 inline constexpr MyBool operator!=(const ComparesToMyBool& LHS, const ComparesToMyBool& RHS) noexce… in operator !=()
99 return MyBool(LHS.value != RHS.value); in operator !=()
101 inline constexpr MyBool operator<(const ComparesToMyBool& LHS, const ComparesToMyBool& RHS) noexcep… in operator <()
102 return MyBool(LHS.value < RHS.value); in operator <()
104 inline constexpr MyBool operator<=(const ComparesToMyBool& LHS, const ComparesToMyBool& RHS) noexce… in operator <=()
105 return MyBool(LHS.value <= RHS.value); in operator <=()
107 inline constexpr MyBool operator>(const ComparesToMyBool& LHS, const ComparesToMyBool& RHS) noexcep… in operator >()
108 return MyBool(LHS.value > RHS.value); in operator >()
110 inline constexpr MyBool operator>=(const ComparesToMyBool& LHS, const ComparesToMyBool& RHS) noexce… in operator >=()
111 return MyBool(LHS.value >= RHS.value); in operator >=()