Lines Matching refs:partial_ordering
18 class partial_ordering;
23 constexpr bool is_eq (partial_ordering cmp) noexcept { return cmp == 0; }
24 constexpr bool is_neq (partial_ordering cmp) noexcept { return cmp != 0; }
25 constexpr bool is_lt (partial_ordering cmp) noexcept { return cmp < 0; }
26 constexpr bool is_lteq(partial_ordering cmp) noexcept { return cmp <= 0; }
27 constexpr bool is_gt (partial_ordering cmp) noexcept { return cmp > 0; }
28 constexpr bool is_gteq(partial_ordering cmp) noexcept { return cmp >= 0; }
39 template<class T, class Cat = partial_ordering>
41 template<class T, class U, 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;
73 friend constexpr bool operator==(partial_ordering v, unspecified) noexcept;
74 friend constexpr bool operator==(partial_ordering v, partial_ordering w) noexcept = default;
75 friend constexpr bool operator< (partial_ordering v, unspecified) noexcept;
76 friend constexpr bool operator> (partial_ordering v, unspecified) noexcept;
77 friend constexpr bool operator<=(partial_ordering v, unspecified) noexcept;
78 friend constexpr bool operator>=(partial_ordering v, unspecified) noexcept;
79 friend constexpr bool operator< (unspecified, partial_ordering v) noexcept;
80 friend constexpr bool operator> (unspecified, partial_ordering v) noexcept;
81 friend constexpr bool operator<=(unspecified, partial_ordering v) noexcept;
82 friend constexpr bool operator>=(unspecified, partial_ordering v) noexcept;
83 friend constexpr partial_ordering operator<=>(partial_ordering v, unspecified) noexcept;
84 friend constexpr partial_ordering operator<=>(unspecified, partial_ordering v) noexcept;
96 constexpr operator partial_ordering() const noexcept;
123 constexpr operator partial_ordering() const noexcept;