• Home
  • Raw
  • Download

Lines Matching refs:partial_ordering

25 class partial_ordering {
27 explicit constexpr partial_ordering(_EqResult __v) noexcept in partial_ordering() function
29 explicit constexpr partial_ordering(_OrdResult __v) noexcept in partial_ordering() function
31 explicit constexpr partial_ordering(_NCmpResult __v) noexcept in partial_ordering() function
40 static const partial_ordering less;
41 static const partial_ordering equivalent;
42 static const partial_ordering greater;
43 static const partial_ordering unordered;
46 friend constexpr bool operator==(partial_ordering __v, _CmpUnspecifiedParam) noexcept;
47 friend constexpr bool operator!=(partial_ordering __v, _CmpUnspecifiedParam) noexcept;
48 friend constexpr bool operator<(partial_ordering __v, _CmpUnspecifiedParam) noexcept;
49 friend constexpr bool operator<=(partial_ordering __v, _CmpUnspecifiedParam) noexcept;
50 friend constexpr bool operator>(partial_ordering __v, _CmpUnspecifiedParam) noexcept;
51 friend constexpr bool operator>=(partial_ordering __v, _CmpUnspecifiedParam) noexcept;
52 friend constexpr bool operator==(_CmpUnspecifiedParam, partial_ordering __v) noexcept;
53 friend constexpr bool operator!=(_CmpUnspecifiedParam, partial_ordering __v) noexcept;
54 friend constexpr bool operator<(_CmpUnspecifiedParam, partial_ordering __v) noexcept;
55 friend constexpr bool operator<=(_CmpUnspecifiedParam, partial_ordering __v) noexcept;
56 friend constexpr bool operator>(_CmpUnspecifiedParam, partial_ordering __v) noexcept;
57 friend constexpr bool operator>=(_CmpUnspecifiedParam, partial_ordering __v) noexcept;
59 …friend constexpr partial_ordering operator<=>(partial_ordering __v, _CmpUnspecifiedParam) noexcept;
60 …friend constexpr partial_ordering operator<=>(_CmpUnspecifiedParam, partial_ordering __v) noexcept;
63 constexpr bool test_eq(partial_ordering const &other) const noexcept { in test_eq()
71 inline constexpr partial_ordering partial_ordering::less(_OrdResult::__less);
72 inline constexpr partial_ordering partial_ordering::equivalent(_EqResult::__equiv);
73 inline constexpr partial_ordering partial_ordering::greater(_OrdResult::__greater);
74 inline constexpr partial_ordering partial_ordering::unordered(_NCmpResult ::__unordered);
75 constexpr bool operator==(partial_ordering __v, _CmpUnspecifiedParam) noexcept {
78 constexpr bool operator<(partial_ordering __v, _CmpUnspecifiedParam) noexcept {
81 constexpr bool operator<=(partial_ordering __v, _CmpUnspecifiedParam) noexcept {
84 constexpr bool operator>(partial_ordering __v, _CmpUnspecifiedParam) noexcept {
87 constexpr bool operator>=(partial_ordering __v, _CmpUnspecifiedParam) noexcept {
90 constexpr bool operator==(_CmpUnspecifiedParam, partial_ordering __v) noexcept {
93 constexpr bool operator<(_CmpUnspecifiedParam, partial_ordering __v) noexcept {
96 constexpr bool operator<=(_CmpUnspecifiedParam, partial_ordering __v) noexcept {
99 constexpr bool operator>(_CmpUnspecifiedParam, partial_ordering __v) noexcept {
102 constexpr bool operator>=(_CmpUnspecifiedParam, partial_ordering __v) noexcept {
105 constexpr bool operator!=(partial_ordering __v, _CmpUnspecifiedParam) noexcept {
108 constexpr bool operator!=(_CmpUnspecifiedParam, partial_ordering __v) noexcept {
112 constexpr partial_ordering operator<=>(partial_ordering __v, _CmpUnspecifiedParam) noexcept {
115 constexpr partial_ordering operator<=>(_CmpUnspecifiedParam, partial_ordering __v) noexcept {
116 return __v < 0 ? partial_ordering::greater : (__v > 0 ? partial_ordering::less : __v);
130 constexpr operator partial_ordering() const noexcept { in partial_ordering() function
131 return __value_ == 0 ? partial_ordering::equivalent in partial_ordering()
132 : (__value_ < 0 ? partial_ordering::less : partial_ordering::greater); in partial_ordering()
220 constexpr operator partial_ordering() const noexcept { in partial_ordering() function
221 return __value_ == 0 ? partial_ordering::equivalent in partial_ordering()
222 : (__value_ < 0 ? partial_ordering::less : partial_ordering::greater); in partial_ordering()