Home
last modified time | relevance | path

Searched refs:weak_ordering (Results 1 – 11 of 11) sorted by relevance

/src/contrib/llvm-project/libcxx/include/__compare/
H A Dordering.h30 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 Dweak_order.h40 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 Dcompare_weak_order_fallback.h42 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 Dsynth_three_way.h38 return weak_ordering::less;
40 return weak_ordering::greater;
41 return weak_ordering::equivalent;
H A Dcommon_comparison_category.h33 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 Dcompare19 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 Dstring_view723 return static_cast<weak_ordering>(__lhs.compare(__rhs) <=> 0);
/src/contrib/llvm-project/libcxx/modules/std/
H A Dcompare.inc15 using std::weak_ordering;
/src/contrib/googletest/googletest/test/
H A Dgoogletest-printers-test.cc1992 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 Dgtest-printers.h819 inline void PrintTo(std::weak_ordering ordering, std::ostream* os) {
/src/contrib/llvm-project/clang/lib/Tooling/Inclusions/Stdlib/
H A DStdSymbolMap.inc3232 SYMBOL(weak_ordering, std::, <compare>)