Lines Matching refs:__v

53   explicit constexpr partial_ordering(_OrdResult __v) noexcept  in partial_ordering()  argument
54 : __value_(_ValueT(__v)) {} in partial_ordering()
57 explicit constexpr partial_ordering(_NCmpResult __v) noexcept in partial_ordering() argument
58 : __value_(_ValueT(__v)) {} in partial_ordering()
76 friend constexpr bool operator==(partial_ordering __v, _CmpUnspecifiedParam) noexcept {
77 return __v.__is_ordered() && __v.__value_ == 0;
81 friend constexpr bool operator< (partial_ordering __v, _CmpUnspecifiedParam) noexcept {
82 return __v.__is_ordered() && __v.__value_ < 0;
86 friend constexpr bool operator<=(partial_ordering __v, _CmpUnspecifiedParam) noexcept {
87 return __v.__is_ordered() && __v.__value_ <= 0;
91 friend constexpr bool operator> (partial_ordering __v, _CmpUnspecifiedParam) noexcept {
92 return __v.__is_ordered() && __v.__value_ > 0;
96 friend constexpr bool operator>=(partial_ordering __v, _CmpUnspecifiedParam) noexcept {
97 return __v.__is_ordered() && __v.__value_ >= 0;
101 friend constexpr bool operator< (_CmpUnspecifiedParam, partial_ordering __v) noexcept {
102 return __v.__is_ordered() && 0 < __v.__value_;
106 friend constexpr bool operator<=(_CmpUnspecifiedParam, partial_ordering __v) noexcept {
107 return __v.__is_ordered() && 0 <= __v.__value_;
111 friend constexpr bool operator> (_CmpUnspecifiedParam, partial_ordering __v) noexcept {
112 return __v.__is_ordered() && 0 > __v.__value_;
116 friend constexpr bool operator>=(_CmpUnspecifiedParam, partial_ordering __v) noexcept {
117 return __v.__is_ordered() && 0 >= __v.__value_;
121 …friend constexpr partial_ordering operator<=>(partial_ordering __v, _CmpUnspecifiedParam) noexcept…
122 return __v;
126 …friend constexpr partial_ordering operator<=>(_CmpUnspecifiedParam, partial_ordering __v) noexcept…
127 return __v < 0 ? partial_ordering::greater : (__v > 0 ? partial_ordering::less : __v);
142 explicit constexpr weak_ordering(_OrdResult __v) noexcept : __value_(_ValueT(__v)) {} in weak_ordering() argument
160 friend constexpr bool operator==(weak_ordering __v, _CmpUnspecifiedParam) noexcept {
161 return __v.__value_ == 0;
165 friend constexpr bool operator< (weak_ordering __v, _CmpUnspecifiedParam) noexcept {
166 return __v.__value_ < 0;
170 friend constexpr bool operator<=(weak_ordering __v, _CmpUnspecifiedParam) noexcept {
171 return __v.__value_ <= 0;
175 friend constexpr bool operator> (weak_ordering __v, _CmpUnspecifiedParam) noexcept {
176 return __v.__value_ > 0;
180 friend constexpr bool operator>=(weak_ordering __v, _CmpUnspecifiedParam) noexcept {
181 return __v.__value_ >= 0;
185 friend constexpr bool operator< (_CmpUnspecifiedParam, weak_ordering __v) noexcept {
186 return 0 < __v.__value_;
190 friend constexpr bool operator<=(_CmpUnspecifiedParam, weak_ordering __v) noexcept {
191 return 0 <= __v.__value_;
195 friend constexpr bool operator> (_CmpUnspecifiedParam, weak_ordering __v) noexcept {
196 return 0 > __v.__value_;
200 friend constexpr bool operator>=(_CmpUnspecifiedParam, weak_ordering __v) noexcept {
201 return 0 >= __v.__value_;
205 friend constexpr weak_ordering operator<=>(weak_ordering __v, _CmpUnspecifiedParam) noexcept {
206 return __v;
210 friend constexpr weak_ordering operator<=>(_CmpUnspecifiedParam, weak_ordering __v) noexcept {
211 return __v < 0 ? weak_ordering::greater : (__v > 0 ? weak_ordering::less : __v);
226 explicit constexpr strong_ordering(_OrdResult __v) noexcept : __value_(_ValueT(__v)) {} in strong_ordering() argument
252 friend constexpr bool operator==(strong_ordering __v, _CmpUnspecifiedParam) noexcept {
253 return __v.__value_ == 0;
257 friend constexpr bool operator< (strong_ordering __v, _CmpUnspecifiedParam) noexcept {
258 return __v.__value_ < 0;
262 friend constexpr bool operator<=(strong_ordering __v, _CmpUnspecifiedParam) noexcept {
263 return __v.__value_ <= 0;
267 friend constexpr bool operator> (strong_ordering __v, _CmpUnspecifiedParam) noexcept {
268 return __v.__value_ > 0;
272 friend constexpr bool operator>=(strong_ordering __v, _CmpUnspecifiedParam) noexcept {
273 return __v.__value_ >= 0;
277 friend constexpr bool operator< (_CmpUnspecifiedParam, strong_ordering __v) noexcept {
278 return 0 < __v.__value_;
282 friend constexpr bool operator<=(_CmpUnspecifiedParam, strong_ordering __v) noexcept {
283 return 0 <= __v.__value_;
287 friend constexpr bool operator> (_CmpUnspecifiedParam, strong_ordering __v) noexcept {
288 return 0 > __v.__value_;
292 friend constexpr bool operator>=(_CmpUnspecifiedParam, strong_ordering __v) noexcept {
293 return 0 >= __v.__value_;
297 friend constexpr strong_ordering operator<=>(strong_ordering __v, _CmpUnspecifiedParam) noexcept {
298 return __v;
302 friend constexpr strong_ordering operator<=>(_CmpUnspecifiedParam, strong_ordering __v) noexcept {
303 return __v < 0 ? strong_ordering::greater : (__v > 0 ? strong_ordering::less : __v);