Searched refs:weak_ordering (Results 1 – 9 of 9) sorted by relevance
| /freebsd-14.2/contrib/llvm-project/libcxx/include/__compare/ |
| H A D | ordering.h | 30 class weak_ordering; variable 119 class weak_ordering { 125 static const weak_ordering less; 126 static const weak_ordering equivalent; 127 static const weak_ordering greater; 135 …_LIBCPP_HIDE_FROM_ABI friend constexpr bool operator==(weak_ordering, weak_ordering) noexcept = de… 178 return __v < 0 ? weak_ordering::greater : (__v > 0 ? weak_ordering::less : __v); 185 inline constexpr weak_ordering weak_ordering::less(_OrdResult::__less); 186 inline constexpr weak_ordering weak_ordering::equivalent(_OrdResult::__equiv); 187 inline constexpr weak_ordering weak_ordering::greater(_OrdResult::__greater); [all …]
|
| H A D | weak_order.h | 36 noexcept(weak_ordering(weak_order(std::forward<_Tp>(__t), std::forward<_Up>(__u))))) 37 -> decltype(weak_ordering(weak_order(std::forward<_Tp>(__t), std::forward<_Up>(__u)))) { 38 return weak_ordering(weak_order(std::forward<_Tp>(__t), std::forward<_Up>(__u))); 47 return weak_ordering::less; in __go() 49 return weak_ordering::equivalent; in __go() 51 return weak_ordering::greater; in __go() 61 return __t_is_negative ? weak_ordering::less : weak_ordering::greater; in __go() 63 return __u_is_negative ? weak_ordering::greater : weak_ordering::less; in __go() 73 return weak_ordering(compare_three_way()(std::forward<_Tp>(__t), std::forward<_Up>(__u))); 79 noexcept(weak_ordering(std::strong_order(std::forward<_Tp>(__t), std::forward<_Up>(__u))))) [all …]
|
| H A D | compare_weak_order_fallback.h | 42 std::forward<_Tp>(__t) == std::forward<_Up>(__u) ? weak_ordering::equivalent 44 ? weak_ordering::less 45 : weak_ordering::greater)) 46 -> decltype(std::forward<_Tp>(__t) == std::forward<_Up>(__u) ? weak_ordering::equivalent 48 ? weak_ordering::less 49 : weak_ordering::greater) { 50 return std::forward<_Tp>(__t) == std::forward<_Up>(__u) ? weak_ordering::equivalent 52 ? weak_ordering::less 53 : weak_ordering::greater;
|
| H A D | synth_three_way.h | 43 return weak_ordering::less; 45 return weak_ordering::greater; 46 return weak_ordering::equivalent;
|
| H A D | common_comparison_category.h | 33 if (is_same_v<_Tp, weak_ordering>) in __type_to_enum() 65 return weak_ordering::equivalent; in __get_comp_type()
|
| /freebsd-14.2/contrib/llvm-project/libcxx/include/ |
| H A D | compare | 19 class weak_ordering; 87 // [cmp.weakord], Class weak_ordering 88 class weak_ordering { 91 static const weak_ordering less; 92 static const weak_ordering equivalent; 93 static const weak_ordering greater; 99 friend constexpr bool operator==(weak_ordering v, unspecified) noexcept; 100 friend constexpr bool operator==(weak_ordering v, weak_ordering w) noexcept = default; 109 friend constexpr weak_ordering operator<=>(weak_ordering v, unspecified) noexcept; 110 friend constexpr weak_ordering operator<=>(unspecified, weak_ordering v) noexcept; [all …]
|
| H A D | string_view | 720 return static_cast<weak_ordering>(__lhs.compare(__rhs) <=> 0);
|
| /freebsd-14.2/contrib/llvm-project/libcxx/modules/std/ |
| H A D | compare.inc | 15 using std::weak_ordering;
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Inclusions/Stdlib/ |
| H A D | StdSymbolMap.inc | 3232 SYMBOL(weak_ordering, std::, <compare>)
|