Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/libcxx/include/__compare/
H A Dordering.h36 class strong_ordering; variable
192 class strong_ordering {
195 …_LIBCPP_HIDE_FROM_ABI explicit constexpr strong_ordering(_OrdResult __v) noexcept : __value_(_Valu… in strong_ordering() function
198 static const strong_ordering less;
199 static const strong_ordering equal;
200 static const strong_ordering equivalent;
201 static const strong_ordering greater;
214 …_LIBCPP_HIDE_FROM_ABI friend constexpr bool operator==(strong_ordering, strong_ordering) noexcept …
216 …_LIBCPP_HIDE_FROM_ABI friend constexpr bool operator==(strong_ordering __v, _CmpUnspecifiedParam) …
220 …_LIBCPP_HIDE_FROM_ABI friend constexpr bool operator<(strong_ordering __v, _CmpUnspecifiedParam) n…
[all …]
H A Dstrong_order.h47 noexcept(strong_ordering(strong_order(std::forward<_Tp>(__t), std::forward<_Up>(__u)))))
48 -> decltype(strong_ordering(strong_order(std::forward<_Tp>(__t), std::forward<_Up>(__u)))) {
49 return strong_ordering(strong_order(std::forward<_Tp>(__t), std::forward<_Up>(__u)));
55 …_LIBCPP_HIDE_FROM_ABI static constexpr strong_ordering __go(_Tp&& __t, _Up&& __u, __priority_tag<1… in __go()
69 return strong_ordering::less; in __go()
71 return strong_ordering::greater; in __go()
109 return __t_is_negative ? strong_ordering::less : strong_ordering::greater; in __go()
111 return __u_is_negative ? strong_ordering::greater : strong_ordering::less; in __go()
119 … noexcept(strong_ordering(compare_three_way()(std::forward<_Tp>(__t), std::forward<_Up>(__u)))))
120 …-> decltype(strong_ordering(compare_three_way()(std::forward<_Tp>(__t), std::forward<_Up>(__u)))) {
[all …]
H A Dcompare_strong_order_fallback.h45 …_LIBCPP_HIDE_FROM_ABI static constexpr strong_ordering __go(_Tp&& __t, _Up&& __u, __priority_tag<0… in __go()
46 noexcept(std::forward<_Tp>(__t) == std::forward<_Up>(__u) ? strong_ordering::equal in __go()
47 : std::forward<_Tp>(__t) < std::forward<_Up>(__u) ? strong_ordering::less in __go()
48 : strong_ordering::greater)) { in __go()
49 return std::forward<_Tp>(__t) == std::forward<_Up>(__u) ? strong_ordering::equal in __go()
51 ? strong_ordering::less in __go()
52 : strong_ordering::greater; in __go()
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/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;
129 friend constexpr bool operator< (strong_ordering v, unspecified) noexcept;
[all …]
H A Dtypeindex31 strong_ordering operator<=>(const type_index& rhs) const noexcept; // C++20
80 _LIBCPP_HIDE_FROM_ABI strong_ordering operator<=>(const type_index& __y) const noexcept {
82 return strong_ordering::equal;
84 return strong_ordering::less;
85 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 Dchrono455 constexpr strong_ordering operator<=>(const day& x, const day& y) noexcept;
467 constexpr strong_ordering operator<=>(const month& x, const month& y) noexcept;
480 constexpr strong_ordering operator<=>(const year& x, const year& y) noexcept;
524 constexpr strong_ordering operator<=>(const month_day& x, const month_day& y) noexcept;
534 constexpr strong_ordering operator<=>(const month_day_last& x, const month_day_last& y) noexcept;
563 constexpr strong_ordering operator<=>(const year_month& x, const year_month& y) noexcept;
581 constexpr strong_ordering operator<=>(const year_month_day& x, const year_month_day& y) noexcept;
598 constexpr strong_ordering operator<=>(const year_month_day_last_day& x, const year_month_day_last_d…
882 strong_ordering operator<=>(const time_zone& x, const time_zone& y) noexcept; // C++20
915 constexpr strong_ordering operator<=>(const leap_second& x, const leap_second& y);
[all …]
/freebsd/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/contrib/llvm-project/libcxx/include/__iterator/
H A Dbounded_iter.h243 _LIBCPP_HIDE_FROM_ABI constexpr friend strong_ordering
245 if constexpr (three_way_comparable<_Iterator, strong_ordering>) {
249 return strong_ordering::less;
252 return strong_ordering::equal;
254 return strong_ordering::greater;
H A Dwrap_iter.h196 _LIBCPP_HIDE_FROM_ABI constexpr strong_ordering
198 if constexpr (three_way_comparable_with<_Iter1, _Iter2, strong_ordering>) {
202 return strong_ordering::less;
205 return strong_ordering::equal;
207 return strong_ordering::greater;
H A Dstatic_bounded_iter.h257 _LIBCPP_HIDE_FROM_ABI constexpr friend strong_ordering
259 if constexpr (three_way_comparable<_Iterator, strong_ordering>) {
263 return strong_ordering::less;
266 return strong_ordering::equal;
268 return strong_ordering::greater;
/freebsd/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/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/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 Dtime_zone_link.h63 [[nodiscard]] _LIBCPP_AVAILABILITY_TZDB _LIBCPP_HIDE_FROM_ABI inline strong_ordering
H A Dday.h63 _LIBCPP_HIDE_FROM_ABI inline constexpr strong_ordering operator<=>(const day& __lhs, const day& __r…
H A Dleap_second.h67 …_LIBCPP_HIDE_FROM_ABI friend constexpr strong_ordering operator<=>(const leap_second& __x, const l…
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/
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 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…
787 strong_ordering operator<=>(const time_zone& x, const time_zone& y) noexcept; // C++20
820 constexpr strong_ordering operator<=>(const leap_second& x, const leap_second& y);
[all …]
/freebsd/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.h111 inline _LIBCPP_HIDE_FROM_ABI strong_ordering
/freebsd/contrib/llvm-project/libcxx/modules/std/
H A Dcompare.cppm
/freebsd/contrib/llvm-project/libcxx/include/__coroutine/
H A Dcoroutine_handle.h90 inline _LIBCPP_HIDE_FROM_ABI constexpr strong_ordering

123