Home
last modified time | relevance | path

Searched refs:partial_ordering (Results 1 – 10 of 10) sorted by relevance

/freebsd-14.2/contrib/llvm-project/libcxx/include/__compare/
H A Dordering.h29 class partial_ordering; variable
43 class partial_ordering {
56 static const partial_ordering less;
58 static const partial_ordering greater;
107 return __v < 0 ? partial_ordering::greater : (__v > 0 ? partial_ordering::less : __v);
114 inline constexpr partial_ordering partial_ordering::less(_OrdResult::__less);
115 inline constexpr partial_ordering partial_ordering::equivalent(_OrdResult::__equiv);
116 inline constexpr partial_ordering partial_ordering::greater(_OrdResult::__greater);
117 inline constexpr partial_ordering partial_ordering::unordered(_NCmpResult ::__unordered);
131 : (__value_ < 0 ? partial_ordering::less : partial_ordering::greater); in partial_ordering()
[all …]
H A Dcompare_partial_order_fallback.h42 std::forward<_Tp>(__t) == std::forward<_Up>(__u) ? partial_ordering::equivalent
43 : std::forward<_Tp>(__t) < std::forward<_Up>(__u) ? partial_ordering::less
45 ? partial_ordering::greater
46 : partial_ordering::unordered))
48 : std::forward<_Tp>(__t) < std::forward<_Up>(__u) ? partial_ordering::less
50 ? partial_ordering::greater
51 : partial_ordering::unordered) {
52 return std::forward<_Tp>(__t) == std::forward<_Up>(__u) ? partial_ordering::equivalent
53 : std::forward<_Tp>(__t) < std::forward<_Up>(__u) ? partial_ordering::less
55 ? partial_ordering::greater
[all …]
H A Dis_eq.h23 _LIBCPP_HIDE_FROM_ABI inline constexpr bool is_eq(partial_ordering __c) noexcept { return __c == 0;… in is_eq()
24 _LIBCPP_HIDE_FROM_ABI inline constexpr bool is_neq(partial_ordering __c) noexcept { return __c != 0… in is_neq()
25 _LIBCPP_HIDE_FROM_ABI inline constexpr bool is_lt(partial_ordering __c) noexcept { return __c < 0; } in is_lt()
26 _LIBCPP_HIDE_FROM_ABI inline constexpr bool is_lteq(partial_ordering __c) noexcept { return __c <= … in is_lteq()
27 _LIBCPP_HIDE_FROM_ABI inline constexpr bool is_gt(partial_ordering __c) noexcept { return __c > 0; } in is_gt()
28 _LIBCPP_HIDE_FROM_ABI inline constexpr bool is_gteq(partial_ordering __c) noexcept { return __c >= … in is_gteq()
H A Dpartial_order.h36 noexcept(partial_ordering(partial_order(std::forward<_Tp>(__t), std::forward<_Up>(__u)))))
37 -> decltype(partial_ordering(partial_order(std::forward<_Tp>(__t), std::forward<_Up>(__u)))) {
38 return partial_ordering(partial_order(std::forward<_Tp>(__t), std::forward<_Up>(__u)));
45 … noexcept(partial_ordering(compare_three_way()(std::forward<_Tp>(__t), std::forward<_Up>(__u)))))
46 …-> decltype(partial_ordering(compare_three_way()(std::forward<_Tp>(__t), std::forward<_Up>(__u))))…
47 return partial_ordering(compare_three_way()(std::forward<_Tp>(__t), std::forward<_Up>(__u)));
53 noexcept(partial_ordering(std::weak_order(std::forward<_Tp>(__t), std::forward<_Up>(__u)))))
54 … -> decltype(partial_ordering(std::weak_order(std::forward<_Tp>(__t), std::forward<_Up>(__u)))) {
55 return partial_ordering(std::weak_order(std::forward<_Tp>(__t), std::forward<_Up>(__u)));
H A Dweak_order.h45 partial_ordering __po = (__t <=> __u); in __go()
46 if (__po == partial_ordering::less) { in __go()
48 } else if (__po == partial_ordering::equivalent) { in __go()
50 } else if (__po == partial_ordering::greater) { in __go()
H A Dthree_way_comparable.h33 template <class _Tp, class _Cat = partial_ordering>
40 template <class _Tp, class _Up, class _Cat = partial_ordering>
H A Dcommon_comparison_category.h31 if (is_same_v<_Tp, partial_ordering>) in __type_to_enum()
63 return partial_ordering::equivalent; in __get_comp_type()
/freebsd-14.2/contrib/llvm-project/libcxx/include/
H A Dcompare18 class partial_ordering;
39 template<class T, class Cat = partial_ordering>
63 // [cmp.partialord], Class partial_ordering
64 class partial_ordering {
67 static const partial_ordering less;
68 static const partial_ordering equivalent;
69 static const partial_ordering greater;
70 static const partial_ordering unordered;
74 friend constexpr bool operator==(partial_ordering v, partial_ordering w) noexcept = default;
83 friend constexpr partial_ordering operator<=>(partial_ordering v, unspecified) noexcept;
[all …]
/freebsd-14.2/contrib/llvm-project/libcxx/modules/std/
H A Dcompare.inc13 using std::partial_ordering;
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Inclusions/Stdlib/
H A DStdSymbolMap.inc2331 SYMBOL(partial_ordering, std::, <compare>)