Home
last modified time | relevance | path

Searched refs:strong_ordering (Results 1 – 25 of 37) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/libcxx/include/__compare/
H A Dordering.h31 class strong_ordering; variable
189 class strong_ordering {
195 static const strong_ordering less;
196 static const strong_ordering equal;
198 static const strong_ordering greater;
211 …_LIBCPP_HIDE_FROM_ABI friend constexpr bool operator==(strong_ordering, strong_ordering) noexcept …
256 return __v < 0 ? strong_ordering::greater : (__v > 0 ? strong_ordering::less : __v);
263 inline constexpr strong_ordering strong_ordering::less(_OrdResult::__less);
264 inline constexpr strong_ordering strong_ordering::equal(_OrdResult::__equiv);
265 inline constexpr strong_ordering strong_ordering::equivalent(_OrdResult::__equiv);
[all …]
H A Dstrong_order.h42 noexcept(strong_ordering(strong_order(std::forward<_Tp>(__t), std::forward<_Up>(__u)))))
43 -> decltype(strong_ordering(strong_order(std::forward<_Tp>(__t), std::forward<_Up>(__u)))) {
44 return strong_ordering(strong_order(std::forward<_Tp>(__t), std::forward<_Up>(__u)));
50 …_LIBCPP_HIDE_FROM_ABI static constexpr strong_ordering __go(_Tp&& __t, _Up&& __u, __priority_tag<1… in __go()
64 return strong_ordering::less; in __go()
66 return strong_ordering::greater; in __go()
104 return __t_is_negative ? strong_ordering::less : strong_ordering::greater; in __go()
106 return __u_is_negative ? strong_ordering::greater : strong_ordering::less; in __go()
114 … noexcept(strong_ordering(compare_three_way()(std::forward<_Tp>(__t), std::forward<_Up>(__u)))))
115 …-> decltype(strong_ordering(compare_three_way()(std::forward<_Tp>(__t), std::forward<_Up>(__u)))) {
[all …]
H A Dcompare_strong_order_fallback.h42 std::forward<_Tp>(__t) == std::forward<_Up>(__u) ? strong_ordering::equal
44 ? strong_ordering::less
45 : strong_ordering::greater))
46 -> decltype(std::forward<_Tp>(__t) == std::forward<_Up>(__u) ? strong_ordering::equal
48 ? strong_ordering::less
49 : strong_ordering::greater) {
50 return std::forward<_Tp>(__t) == std::forward<_Up>(__u) ? strong_ordering::equal
52 ? strong_ordering::less
53 : strong_ordering::greater;
H A Dcommon_comparison_category.h35 if (is_same_v<_Tp, strong_ordering>) in __type_to_enum()
67 return strong_ordering::equivalent; in __get_comp_type()
/freebsd-14.2/contrib/llvm-project/libcxx/include/
H A Dcompare20 class strong_ordering;
113 // [cmp.strongord], Class strong_ordering
114 class strong_ordering {
117 static const strong_ordering less;
118 static const strong_ordering equal;
119 static const strong_ordering equivalent;
120 static const strong_ordering greater;
127 friend constexpr bool operator==(strong_ordering v, unspecified) noexcept;
128 friend constexpr bool operator==(strong_ordering v, strong_ordering w) noexcept = default;
137 friend constexpr strong_ordering operator<=>(strong_ordering v, unspecified) noexcept;
[all …]
H A Dtypeindex31 strong_ordering operator<=>(const type_index& rhs) const noexcept; // C++20
78 _LIBCPP_HIDE_FROM_ABI strong_ordering operator<=>(const type_index& __y) const noexcept {
80 return strong_ordering::equal;
82 return strong_ordering::less;
83 return strong_ordering::greater;
H A Dsystem_error37 strong_ordering operator<=>(const error_category& rhs) const noexcept; // C++20
137 strong_ordering operator<=>(const error_code& lhs, const error_code& rhs) noexcept; // C+…
138 strong_ordering operator<=>(const error_condition& lhs, const error_condition& rhs) noexcept; // C+…
H A Dcoroutine25 constexpr strong_ordering operator<=>(coroutine_handle<> x, coroutine_handle<> y) noexcept;
H A Dchrono360 constexpr strong_ordering operator<=>(const day& x, const day& y) noexcept;
372 constexpr strong_ordering operator<=>(const month& x, const month& y) noexcept;
385 constexpr strong_ordering operator<=>(const year& x, const year& y) noexcept;
429 constexpr strong_ordering operator<=>(const month_day& x, const month_day& y) noexcept;
439 constexpr strong_ordering operator<=>(const month_day_last& x, const month_day_last& y) noexcept;
468 constexpr strong_ordering operator<=>(const year_month& x, const year_month& y) noexcept;
486 constexpr strong_ordering operator<=>(const year_month_day& x, const year_month_day& y) noexcept;
503 constexpr strong_ordering operator<=>(const year_month_day_last_day& x, const year_month_day_last_d…
H A Dthread61 strong_ordering operator<=>(thread::id x, thread::id y) noexcept; // C++20
/freebsd-14.2/contrib/llvm-project/libcxx/include/__thread/
H A Did.h61 …friend _LIBCPP_HIDE_FROM_ABI strong_ordering operator<=>(__thread_id __x, __thread_id __y) noexcep…
101 inline _LIBCPP_HIDE_FROM_ABI strong_ordering operator<=>(__thread_id __x, __thread_id __y) noexcept…
103 return strong_ordering::equal;
105 return strong_ordering::less;
106 return strong_ordering::greater;
/freebsd-14.2/contrib/llvm-project/libcxx/include/__variant/
H A Dmonostate.h32 _LIBCPP_HIDE_FROM_ABI inline constexpr strong_ordering operator<=>(monostate, monostate) noexcept {
33 return strong_ordering::equal;
/freebsd-14.2/contrib/llvm-project/libcxx/include/__algorithm/
H A Dlexicographical_compare_three_way.h76 return strong_ordering::greater;
78 return strong_ordering::less;
79 return strong_ordering::equal;
/freebsd-14.2/contrib/llvm-project/libcxx/include/__chrono/
H A Dmonthday.h64 _LIBCPP_HIDE_FROM_ABI inline constexpr strong_ordering
106 _LIBCPP_HIDE_FROM_ABI inline constexpr strong_ordering
H A Dday.h63 _LIBCPP_HIDE_FROM_ABI inline constexpr strong_ordering operator<=>(const day& __lhs, const day& __r…
H A Dyear.h75 _LIBCPP_HIDE_FROM_ABI constexpr strong_ordering operator<=>(const year& __lhs, const year& __rhs) n…
H A Dmonth.h63 _LIBCPP_HIDE_FROM_ABI inline constexpr strong_ordering operator<=>(const month& __lhs, const month&…
H A Dyear_month.h58 _LIBCPP_HIDE_FROM_ABI inline constexpr strong_ordering
/freebsd-14.2/contrib/llvm-project/libcxx/include/__system_error/
H A Derror_category.h50 _LIBCPP_HIDE_FROM_ABI strong_ordering operator<=>(const error_category& __rhs) const noexcept {
H A Derror_condition.h112 inline _LIBCPP_HIDE_FROM_ABI strong_ordering
H A Derror_code.h126 inline _LIBCPP_HIDE_FROM_ABI strong_ordering operator<=>(const error_code& __x, const error_code& _…
/freebsd-14.2/contrib/llvm-project/libcxx/modules/std/
H A Dcompare.inc14 using std::strong_ordering;
/freebsd-14.2/contrib/llvm-project/libcxx/include/__string/
H A Dchar_traits.h185 using comparison_category = strong_ordering;
282 using comparison_category = strong_ordering;
359 using comparison_category = strong_ordering;
439 using comparison_category = strong_ordering;
529 using comparison_category = strong_ordering;
/freebsd-14.2/contrib/llvm-project/libcxx/include/__coroutine/
H A Dcoroutine_handle.h89 inline _LIBCPP_HIDE_FROM_ABI constexpr strong_ordering
/freebsd-14.2/contrib/llvm-project/libcxx/include/__iterator/
H A Dcounted_iterator.h247 _LIBCPP_HIDE_FROM_ABI friend constexpr strong_ordering

12