44 #pragma qt_class(QtCompare)
47 #include <QtCore/qglobal.h>
48 #include <QtCore/qcompare_impl.h>
81 {
return p.isOrdered() &&
p.m_order == 0; }
83 {
return p.isOrdered() &&
p.m_order != 0; }
85 {
return p.isOrdered() &&
p.m_order < 0; }
87 {
return p.isOrdered() &&
p.m_order <= 0; }
89 {
return p.isOrdered() &&
p.m_order > 0; }
91 {
return p.isOrdered() &&
p.m_order >= 0; }
94 {
return p.isOrdered() && 0 ==
p.m_order; }
96 {
return p.isOrdered() && 0 !=
p.m_order; }
98 {
return p.isOrdered() && 0 <
p.m_order; }
100 {
return p.isOrdered() && 0 <=
p.m_order; }
102 {
return p.isOrdered() && 0 >
p.m_order; }
104 {
return p.isOrdered() && 0 >=
p.m_order; }
107 {
return p1.m_order ==
p2.m_order; }
109 {
return p1.m_order !=
p2.m_order; }
121 constexpr
bool isOrdered() noexcept
constexpr friend bool operator>(QPartialOrdering p, QtPrivate::CompareAgainstLiteralZero) noexcept
constexpr friend bool operator<(QPartialOrdering p, QtPrivate::CompareAgainstLiteralZero) noexcept
constexpr friend bool operator!=(QtPrivate::CompareAgainstLiteralZero, QPartialOrdering p) noexcept
constexpr friend bool operator>=(QtPrivate::CompareAgainstLiteralZero, QPartialOrdering p) noexcept
constexpr friend bool operator==(QPartialOrdering p1, QPartialOrdering p2) noexcept
constexpr friend bool operator<=(QtPrivate::CompareAgainstLiteralZero, QPartialOrdering p) noexcept
constexpr friend bool operator!=(QPartialOrdering p, QtPrivate::CompareAgainstLiteralZero) noexcept
static const QPartialOrdering Less
constexpr friend bool operator>=(QPartialOrdering p, QtPrivate::CompareAgainstLiteralZero) noexcept
constexpr friend bool operator==(QPartialOrdering p, QtPrivate::CompareAgainstLiteralZero) noexcept
static const QPartialOrdering Greater
constexpr friend bool operator<=(QPartialOrdering p, QtPrivate::CompareAgainstLiteralZero) noexcept
constexpr friend bool operator==(QtPrivate::CompareAgainstLiteralZero, QPartialOrdering p) noexcept
constexpr friend bool operator!=(QPartialOrdering p1, QPartialOrdering p2) noexcept
static const QPartialOrdering Equivalent
static const QPartialOrdering Unordered
qint8 CompareUnderlyingType
QT_BEGIN_NAMESPACE typedef signed char qint8
GLfixed GLfixed GLint GLint order