Searched refs:weak_ordering (Results 1 – 11 of 11) sorted by relevance
| /src/contrib/llvm-project/libcxx/include/__compare/ |
| H A D | ordering.h | 30 class weak_ordering; variable 39 …template <class _Tp, class = enable_if_t<!__one_of_v<_Tp, int, partial_ordering, weak_ordering, st… 119 class weak_ordering { 122 …_LIBCPP_HIDE_FROM_ABI explicit constexpr weak_ordering(_OrdResult __v) noexcept : __value_(_ValueT… in weak_ordering() function 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… 137 …_LIBCPP_HIDE_FROM_ABI friend constexpr bool operator==(weak_ordering __v, _CmpUnspecifiedParam) no… 141 …_LIBCPP_HIDE_FROM_ABI friend constexpr bool operator<(weak_ordering __v, _CmpUnspecifiedParam) noe… [all …]
|
| H A D | weak_order.h | 40 noexcept(weak_ordering(weak_order(std::forward<_Tp>(__t), std::forward<_Up>(__u))))) 41 -> decltype(weak_ordering(weak_order(std::forward<_Tp>(__t), std::forward<_Up>(__u)))) { 42 return weak_ordering(weak_order(std::forward<_Tp>(__t), std::forward<_Up>(__u))); 48 …_LIBCPP_HIDE_FROM_ABI static constexpr weak_ordering __go(_Tp&& __t, _Up&& __u, __priority_tag<2>)… in __go() 51 return weak_ordering::less; in __go() 53 return weak_ordering::equivalent; in __go() 55 return weak_ordering::greater; in __go() 65 return __t_is_negative ? weak_ordering::less : weak_ordering::greater; in __go() 67 return __u_is_negative ? weak_ordering::greater : weak_ordering::less; in __go() 75 noexcept(weak_ordering(compare_three_way()(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 | 38 return weak_ordering::less; 40 return weak_ordering::greater; 41 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()
|
| /src/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; 101 friend constexpr bool operator< (weak_ordering v, unspecified) noexcept; 102 friend constexpr bool operator> (weak_ordering v, unspecified) noexcept; [all …]
|
| H A D | string_view | 723 return static_cast<weak_ordering>(__lhs.compare(__rhs) <=> 0);
|
| /src/contrib/llvm-project/libcxx/modules/std/ |
| H A D | compare.inc | 15 using std::weak_ordering;
|
| /src/contrib/googletest/googletest/test/ |
| H A D | googletest-printers-test.cc | 1992 EXPECT_EQ("(less)", PrintToString(std::weak_ordering::less)); 1993 EXPECT_EQ("(greater)", PrintToString(std::weak_ordering::greater)); 1994 EXPECT_EQ("(equivalent)", PrintToString(std::weak_ordering::equivalent));
|
| /src/contrib/googletest/googletest/include/gtest/ |
| H A D | gtest-printers.h | 819 inline void PrintTo(std::weak_ordering ordering, std::ostream* os) {
|
| /src/contrib/llvm-project/clang/lib/Tooling/Inclusions/Stdlib/ |
| H A D | StdSymbolMap.inc | 3232 SYMBOL(weak_ordering, std::, <compare>)
|