Lines Matching refs:strong_ordering
36 class strong_ordering; variable
45 … _Tp, class = enable_if_t<!__one_of_v<_Tp, int, partial_ordering, weak_ordering, strong_ordering>>>
222 class strong_ordering {
226 explicit constexpr strong_ordering(_OrdResult __v) noexcept : __value_(_ValueT(__v)) {} in strong_ordering() function
229 static const strong_ordering less;
230 static const strong_ordering equal;
231 static const strong_ordering equivalent;
232 static const strong_ordering greater;
249 friend constexpr bool operator==(strong_ordering, strong_ordering) noexcept = default;
252 friend constexpr bool operator==(strong_ordering __v, _CmpUnspecifiedParam) noexcept {
257 friend constexpr bool operator< (strong_ordering __v, _CmpUnspecifiedParam) noexcept {
262 friend constexpr bool operator<=(strong_ordering __v, _CmpUnspecifiedParam) noexcept {
267 friend constexpr bool operator> (strong_ordering __v, _CmpUnspecifiedParam) noexcept {
272 friend constexpr bool operator>=(strong_ordering __v, _CmpUnspecifiedParam) noexcept {
277 friend constexpr bool operator< (_CmpUnspecifiedParam, strong_ordering __v) noexcept {
282 friend constexpr bool operator<=(_CmpUnspecifiedParam, strong_ordering __v) noexcept {
287 friend constexpr bool operator> (_CmpUnspecifiedParam, strong_ordering __v) noexcept {
292 friend constexpr bool operator>=(_CmpUnspecifiedParam, strong_ordering __v) noexcept {
297 friend constexpr strong_ordering operator<=>(strong_ordering __v, _CmpUnspecifiedParam) noexcept {
302 friend constexpr strong_ordering operator<=>(_CmpUnspecifiedParam, strong_ordering __v) noexcept {
303 return __v < 0 ? strong_ordering::greater : (__v > 0 ? strong_ordering::less : __v);
310 inline constexpr strong_ordering strong_ordering::less(_OrdResult::__less);
311 inline constexpr strong_ordering strong_ordering::equal(_OrdResult::__equiv);
312 inline constexpr strong_ordering strong_ordering::equivalent(_OrdResult::__equiv);
313 inline constexpr strong_ordering strong_ordering::greater(_OrdResult::__greater);