Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qcomparehelpers.h File Reference

(75e10a0656eca0fb8dee71be1ad504707be1f9b1)

#include <QtCore/qflags.h>
#include <QtCore/qoverload.h>
#include <QtCore/qttypetraits.h>
#include <QtCore/qtypeinfo.h>
#include <QtCore/qtypes.h>
#include <QtCore/q20type_traits.h>
#include <functional>
Include dependency graph for qcomparehelpers.h:

Go to the source code of this file.

Classes

struct  QtOrderingPrivate::is_std_ordering_type< T >
struct  QtOrderingPrivate::is_qt_ordering_type< T >
struct  QtOrderingPrivate::is_qt_ordering_type< Qt::partial_ordering >
struct  QtOrderingPrivate::is_qt_ordering_type< Qt::weak_ordering >
struct  QtOrderingPrivate::is_qt_ordering_type< Qt::strong_ordering >
class  Qt::totally_ordered_wrapper< P >
 \inmodule QtCore \inheaderfile QtCompare More...
class  QTypeInfo< Qt::totally_ordered_wrapper< P > >
struct  QtOrderingPrivate::CompareThreeWayTester::HasCompareThreeWay< LT, RT, typename >
struct  QtOrderingPrivate::CompareThreeWayTester::HasCompareThreeWay< LT, RT, std::void_t< decltype(compareThreeWay(std::declval< LT >(), std::declval< RT >()))> >
struct  QtOrderingPrivate::CompareThreeWayTester::HasCompareThreeWay< LT *, RT *, std::void_t< decltype(compareThreeWay(std::declval< WrappedType< LT > >(), std::declval< WrappedType< RT > >()))> >
struct  QtOrderingPrivate::HasCustomCompareThreeWay< LT, RT, typename >
struct  QtOrderingPrivate::HasCustomCompareThreeWay< LT, RT, std::void_t< decltype(is_eq(compareThreeWay(std::declval< LT >(), std::declval< RT >())))> >
struct  std::hash< QT_PREPEND_NAMESPACE(Qt::totally_ordered_wrapper)< P > >

Namespaces

namespace  QtOrderingPrivate
namespace  QtPrivate
namespace  Qt
namespace  QtOrderingPrivate::CompareThreeWayTester
namespace  std
 [33]

Macros

#define QT_COMPARISON_NOEXCEPT_CHECK(Noexcept, Func)
#define QT_DECLARE_EQUALITY_OPERATORS_HELPER(LeftType, RightType, Constexpr, Noexcept, ...)
#define QT_DECLARE_EQUALITY_OPERATORS_REVERSED_HELPER(LeftType, RightType, Constexpr, Noexcept, ...)
#define QT_DECLARE_ORDERING_HELPER_TEMPLATE(OrderingType, LeftType, RightType, Constexpr, Noexcept, ...)
#define QT_DECLARE_ORDERING_HELPER_AUTO(LeftType, RightType, Constexpr, Noexcept, ...)
#define QT_DECLARE_ORDERING_HELPER_PARTIAL(LeftType, RightType, Constexpr, Noexcept, ...)
#define QT_DECLARE_ORDERING_HELPER_WEAK(LeftType, RightType, Constexpr, Noexcept, ...)
#define QT_DECLARE_ORDERING_HELPER_STRONG(LeftType, RightType, Constexpr, Noexcept, ...)
#define QT_DECLARE_ORDERING_OPERATORS_HELPER(OrderingString, LeftType, RightType, Constexpr, Noexcept, ...)
#define QT_DECLARE_REVERSED_ORDERING_HELPER_TEMPLATE(OrderingType, LeftType, RightType, Constexpr, Noexcept, ...)
#define QT_DECLARE_REVERSED_ORDERING_HELPER_AUTO(LeftType, RightType, Constexpr, Noexcept, ...)
#define QT_DECLARE_REVERSED_ORDERING_HELPER_PARTIAL(LeftType, RightType, Constexpr, Noexcept, ...)
#define QT_DECLARE_REVERSED_ORDERING_HELPER_WEAK(LeftType, RightType, Constexpr, Noexcept, ...)
#define QT_DECLARE_REVERSED_ORDERING_HELPER_STRONG(LeftType, RightType, Constexpr, Noexcept, ...)
#define QT_DECLARE_ORDERING_OPERATORS_REVERSED_HELPER(OrderingString, LeftType, RightType, Constexpr, Noexcept, ...)
#define QT_DECLARE_EQUALITY_COMPARABLE_1(Type)
#define QT_DECLARE_EQUALITY_COMPARABLE_2(LeftType, RightType)
#define QT_DECLARE_EQUALITY_COMPARABLE_3(LeftType, RightType, ...)
#define QT_DECLARE_EQUALITY_COMPARABLE_4(...)
#define QT_DECLARE_EQUALITY_COMPARABLE_5(...)
#define QT_DECLARE_EQUALITY_COMPARABLE_6(...)
#define QT_DECLARE_EQUALITY_COMPARABLE_7(...)
#define QT_DECLARE_EQUALITY_COMPARABLE_8(...)
#define QT_DECLARE_EQUALITY_COMPARABLE_9(...)
#define Q_DECLARE_EQUALITY_COMPARABLE(...)
#define QT_DECLARE_EQUALITY_COMPARABLE_LITERAL_TYPE_1(Type)
#define QT_DECLARE_EQUALITY_COMPARABLE_LITERAL_TYPE_2(LeftType, RightType)
#define QT_DECLARE_EQUALITY_COMPARABLE_LITERAL_TYPE_3(LeftType, RightType, ...)
#define QT_DECLARE_EQUALITY_COMPARABLE_LITERAL_TYPE_4(...)
#define QT_DECLARE_EQUALITY_COMPARABLE_LITERAL_TYPE_5(...)
#define QT_DECLARE_EQUALITY_COMPARABLE_LITERAL_TYPE_6(...)
#define QT_DECLARE_EQUALITY_COMPARABLE_LITERAL_TYPE_7(...)
#define QT_DECLARE_EQUALITY_COMPARABLE_LITERAL_TYPE_8(...)
#define QT_DECLARE_EQUALITY_COMPARABLE_LITERAL_TYPE_9(...)
#define Q_DECLARE_EQUALITY_COMPARABLE_LITERAL_TYPE(...)
#define QT_DECLARE_EQUALITY_COMPARABLE_NON_NOEXCEPT_1(Type)
#define QT_DECLARE_EQUALITY_COMPARABLE_NON_NOEXCEPT_2(LeftType, RightType)
#define QT_DECLARE_EQUALITY_COMPARABLE_NON_NOEXCEPT_3(LeftType, RightType, ...)
#define QT_DECLARE_EQUALITY_COMPARABLE_NON_NOEXCEPT_4(...)
#define QT_DECLARE_EQUALITY_COMPARABLE_NON_NOEXCEPT_5(...)
#define QT_DECLARE_EQUALITY_COMPARABLE_NON_NOEXCEPT_6(...)
#define QT_DECLARE_EQUALITY_COMPARABLE_NON_NOEXCEPT_7(...)
#define QT_DECLARE_EQUALITY_COMPARABLE_NON_NOEXCEPT_8(...)
#define QT_DECLARE_EQUALITY_COMPARABLE_NON_NOEXCEPT_9(...)
#define Q_DECLARE_EQUALITY_COMPARABLE_NON_NOEXCEPT(...)
#define QT_DECLARE_ORDERED_1(Type)
#define QT_DECLARE_ORDERED_2(LeftType, RightType)
#define QT_DECLARE_ORDERED_3(LeftType, RightType, ...)
#define QT_DECLARE_ORDERED_4(...)
#define QT_DECLARE_ORDERED_5(...)
#define QT_DECLARE_ORDERED_6(...)
#define QT_DECLARE_ORDERED_7(...)
#define QT_DECLARE_ORDERED_8(...)
#define QT_DECLARE_ORDERED_9(...)
#define Q_DECLARE_ORDERED(...)
#define QT_DECLARE_ORDERED_LITERAL_TYPE_1(Type)
#define QT_DECLARE_ORDERED_LITERAL_TYPE_2(LeftType, RightType)
#define QT_DECLARE_ORDERED_LITERAL_TYPE_3(LeftType, RightType, ...)
#define QT_DECLARE_ORDERED_LITERAL_TYPE_4(...)
#define QT_DECLARE_ORDERED_LITERAL_TYPE_5(...)
#define QT_DECLARE_ORDERED_LITERAL_TYPE_6(...)
#define QT_DECLARE_ORDERED_LITERAL_TYPE_7(...)
#define QT_DECLARE_ORDERED_LITERAL_TYPE_8(...)
#define QT_DECLARE_ORDERED_LITERAL_TYPE_9(...)
#define Q_DECLARE_ORDERED_LITERAL_TYPE(...)
#define QT_DECLARE_ORDERED_NON_NOEXCEPT_1(Type)
#define QT_DECLARE_ORDERED_NON_NOEXCEPT_2(LeftType, RightType)
#define QT_DECLARE_ORDERED_NON_NOEXCEPT_3(LeftType, RightType, ...)
#define QT_DECLARE_ORDERED_NON_NOEXCEPT_4(...)
#define QT_DECLARE_ORDERED_NON_NOEXCEPT_5(...)
#define QT_DECLARE_ORDERED_NON_NOEXCEPT_6(...)
#define QT_DECLARE_ORDERED_NON_NOEXCEPT_7(...)
#define QT_DECLARE_ORDERED_NON_NOEXCEPT_8(...)
#define QT_DECLARE_ORDERED_NON_NOEXCEPT_9(...)
#define Q_DECLARE_ORDERED_NON_NOEXCEPT(...)
#define QT_DECLARE_PARTIALLY_ORDERED_1(Type)
#define QT_DECLARE_PARTIALLY_ORDERED_2(LeftType, RightType)
#define QT_DECLARE_PARTIALLY_ORDERED_3(LeftType, RightType, ...)
#define QT_DECLARE_PARTIALLY_ORDERED_4(...)
#define QT_DECLARE_PARTIALLY_ORDERED_5(...)
#define QT_DECLARE_PARTIALLY_ORDERED_6(...)
#define QT_DECLARE_PARTIALLY_ORDERED_7(...)
#define QT_DECLARE_PARTIALLY_ORDERED_8(...)
#define QT_DECLARE_PARTIALLY_ORDERED_9(...)
#define Q_DECLARE_PARTIALLY_ORDERED(...)
#define QT_DECLARE_PARTIALLY_ORDERED_LITERAL_TYPE_1(Type)
#define QT_DECLARE_PARTIALLY_ORDERED_LITERAL_TYPE_2(LeftType, RightType)
#define QT_DECLARE_PARTIALLY_ORDERED_LITERAL_TYPE_3(LeftType, RightType, ...)
#define QT_DECLARE_PARTIALLY_ORDERED_LITERAL_TYPE_4(...)
#define QT_DECLARE_PARTIALLY_ORDERED_LITERAL_TYPE_5(...)
#define QT_DECLARE_PARTIALLY_ORDERED_LITERAL_TYPE_6(...)
#define QT_DECLARE_PARTIALLY_ORDERED_LITERAL_TYPE_7(...)
#define QT_DECLARE_PARTIALLY_ORDERED_LITERAL_TYPE_8(...)
#define QT_DECLARE_PARTIALLY_ORDERED_LITERAL_TYPE_9(...)
#define Q_DECLARE_PARTIALLY_ORDERED_LITERAL_TYPE(...)
#define QT_DECLARE_PARTIALLY_ORDERED_NON_NOEXCEPT_1(Type)
#define QT_DECLARE_PARTIALLY_ORDERED_NON_NOEXCEPT_2(LeftType, RightType)
#define QT_DECLARE_PARTIALLY_ORDERED_NON_NOEXCEPT_3(LeftType, RightType, ...)
#define QT_DECLARE_PARTIALLY_ORDERED_NON_NOEXCEPT_4(...)
#define QT_DECLARE_PARTIALLY_ORDERED_NON_NOEXCEPT_5(...)
#define QT_DECLARE_PARTIALLY_ORDERED_NON_NOEXCEPT_6(...)
#define QT_DECLARE_PARTIALLY_ORDERED_NON_NOEXCEPT_7(...)
#define QT_DECLARE_PARTIALLY_ORDERED_NON_NOEXCEPT_8(...)
#define QT_DECLARE_PARTIALLY_ORDERED_NON_NOEXCEPT_9(...)
#define Q_DECLARE_PARTIALLY_ORDERED_NON_NOEXCEPT(...)
#define QT_DECLARE_WEAKLY_ORDERED_1(Type)
#define QT_DECLARE_WEAKLY_ORDERED_2(LeftType, RightType)
#define QT_DECLARE_WEAKLY_ORDERED_3(LeftType, RightType, ...)
#define QT_DECLARE_WEAKLY_ORDERED_4(...)
#define QT_DECLARE_WEAKLY_ORDERED_5(...)
#define QT_DECLARE_WEAKLY_ORDERED_6(...)
#define QT_DECLARE_WEAKLY_ORDERED_7(...)
#define QT_DECLARE_WEAKLY_ORDERED_8(...)
#define QT_DECLARE_WEAKLY_ORDERED_9(...)
#define Q_DECLARE_WEAKLY_ORDERED(...)
#define QT_DECLARE_WEAKLY_ORDERED_LITERAL_TYPE_1(Type)
#define QT_DECLARE_WEAKLY_ORDERED_LITERAL_TYPE_2(LeftType, RightType)
#define QT_DECLARE_WEAKLY_ORDERED_LITERAL_TYPE_3(LeftType, RightType, ...)
#define QT_DECLARE_WEAKLY_ORDERED_LITERAL_TYPE_4(...)
#define QT_DECLARE_WEAKLY_ORDERED_LITERAL_TYPE_5(...)
#define QT_DECLARE_WEAKLY_ORDERED_LITERAL_TYPE_6(...)
#define QT_DECLARE_WEAKLY_ORDERED_LITERAL_TYPE_7(...)
#define QT_DECLARE_WEAKLY_ORDERED_LITERAL_TYPE_8(...)
#define QT_DECLARE_WEAKLY_ORDERED_LITERAL_TYPE_9(...)
#define Q_DECLARE_WEAKLY_ORDERED_LITERAL_TYPE(...)
#define QT_DECLARE_WEAKLY_ORDERED_NON_NOEXCEPT_1(Type)
#define QT_DECLARE_WEAKLY_ORDERED_NON_NOEXCEPT_2(LeftType, RightType)
#define QT_DECLARE_WEAKLY_ORDERED_NON_NOEXCEPT_3(LeftType, RightType, ...)
#define QT_DECLARE_WEAKLY_ORDERED_NON_NOEXCEPT_4(...)
#define QT_DECLARE_WEAKLY_ORDERED_NON_NOEXCEPT_5(...)
#define QT_DECLARE_WEAKLY_ORDERED_NON_NOEXCEPT_6(...)
#define QT_DECLARE_WEAKLY_ORDERED_NON_NOEXCEPT_7(...)
#define QT_DECLARE_WEAKLY_ORDERED_NON_NOEXCEPT_8(...)
#define QT_DECLARE_WEAKLY_ORDERED_NON_NOEXCEPT_9(...)
#define Q_DECLARE_WEAKLY_ORDERED_NON_NOEXCEPT(...)
#define QT_DECLARE_STRONGLY_ORDERED_1(Type)
#define QT_DECLARE_STRONGLY_ORDERED_2(LeftType, RightType)
#define QT_DECLARE_STRONGLY_ORDERED_3(LeftType, RightType, ...)
#define QT_DECLARE_STRONGLY_ORDERED_4(...)
#define QT_DECLARE_STRONGLY_ORDERED_5(...)
#define QT_DECLARE_STRONGLY_ORDERED_6(...)
#define QT_DECLARE_STRONGLY_ORDERED_7(...)
#define QT_DECLARE_STRONGLY_ORDERED_8(...)
#define QT_DECLARE_STRONGLY_ORDERED_9(...)
#define Q_DECLARE_STRONGLY_ORDERED(...)
#define QT_DECLARE_STRONGLY_ORDERED_LITERAL_TYPE_1(Type)
#define QT_DECLARE_STRONGLY_ORDERED_LITERAL_TYPE_2(LeftType, RightType)
#define QT_DECLARE_STRONGLY_ORDERED_LITERAL_TYPE_3(LeftType, RightType, ...)
#define QT_DECLARE_STRONGLY_ORDERED_LITERAL_TYPE_4(...)
#define QT_DECLARE_STRONGLY_ORDERED_LITERAL_TYPE_5(...)
#define QT_DECLARE_STRONGLY_ORDERED_LITERAL_TYPE_6(...)
#define QT_DECLARE_STRONGLY_ORDERED_LITERAL_TYPE_7(...)
#define QT_DECLARE_STRONGLY_ORDERED_LITERAL_TYPE_8(...)
#define QT_DECLARE_STRONGLY_ORDERED_LITERAL_TYPE_9(...)
#define Q_DECLARE_STRONGLY_ORDERED_LITERAL_TYPE(...)
#define QT_DECLARE_STRONGLY_ORDERED_NON_NOEXCEPT_1(Type)
#define QT_DECLARE_STRONGLY_ORDERED_NON_NOEXCEPT_2(LeftType, RightType)
#define QT_DECLARE_STRONGLY_ORDERED_NON_NOEXCEPT_3(LeftType, RightType, ...)
#define QT_DECLARE_STRONGLY_ORDERED_NON_NOEXCEPT_4(...)
#define QT_DECLARE_STRONGLY_ORDERED_NON_NOEXCEPT_5(...)
#define QT_DECLARE_STRONGLY_ORDERED_NON_NOEXCEPT_6(...)
#define QT_DECLARE_STRONGLY_ORDERED_NON_NOEXCEPT_7(...)
#define QT_DECLARE_STRONGLY_ORDERED_NON_NOEXCEPT_8(...)
#define QT_DECLARE_STRONGLY_ORDERED_NON_NOEXCEPT_9(...)
#define Q_DECLARE_STRONGLY_ORDERED_NON_NOEXCEPT(...)
#define MAKE_RELOP(Ret, op, Op)

Typedefs

template<typename T>
using Qt::if_integral = std::enable_if_t<QtPrivate::IsIntegralType_v<T>, bool>
template<typename T>
using Qt::if_floating_point = std::enable_if_t<QtPrivate::IsFloatType_v<T>, bool>
template<typename T, typename U>
using Qt::if_compatible_pointers
template<typename Enum>
using Qt::if_enum = std::enable_if_t<std::is_enum_v<Enum>, bool>
template<typename T>
using QtOrderingPrivate::CompareThreeWayTester::WrappedType = std::conditional_t<std::is_pointer_v<T>, Qt::totally_ordered_wrapper<T>, T>
template<typename T, typename U>
using Qt::if_has_qt_compare_three_way

Enumerations

enum class  QtOrderingPrivate::QtOrderingType {
  QtOrderingPrivate::QtOrder = 0x00 , QtOrderingPrivate::StdOrder = 0x01 , QtOrderingPrivate::Partial = 0x00 , QtOrderingPrivate::Weak = 0x20 ,
  QtOrderingPrivate::Strong = 0x40 , QtOrderingPrivate::StrengthMask = Weak|Strong
}

Functions

template<typename In>
constexpr auto QtOrderingPrivate::to_std (In in) noexcept -> typename QtOrderingPrivate::StdOrdering< In >::type
template<typename In>
constexpr auto QtOrderingPrivate::to_Qt (In in) noexcept -> typename QtOrderingPrivate::QtOrdering< In >::type
template<typename T>
constexpr std::enable_if_t< is_qt_ordering_type_v< T >, QtOrderingTypeFlag > QtOrderingPrivate::orderingFlagsFor (T t) noexcept
template<typename T>
constexpr std::enable_if_t< is_std_ordering_type_v< T >, QtOrderingTypeFlag > QtOrderingPrivate::orderingFlagsFor (T t) noexcept
template<typename T, typename U>
constexpr Qt::strong_ordering QtOrderingPrivate::strongOrderingCompareDefaultImpl (T lhs, U rhs) noexcept
template<typename LeftInt, typename RightInt, if_integral< LeftInt > = true, if_integral< RightInt > = true>
constexpr Qt::strong_ordering Qt::compareThreeWay (LeftInt lhs, RightInt rhs) noexcept
template<typename LeftFloat, typename RightFloat, if_floating_point< LeftFloat > = true, if_floating_point< RightFloat > = true>
constexpr Qt::partial_ordering Qt::compareThreeWay (LeftFloat lhs, RightFloat rhs) noexcept
template<typename IntType, typename FloatType, if_integral< IntType > = true, if_floating_point< FloatType > = true>
constexpr Qt::partial_ordering Qt::compareThreeWay (IntType lhs, FloatType rhs) noexcept
template<typename FloatType, typename IntType, if_floating_point< FloatType > = true, if_integral< IntType > = true>
constexpr Qt::partial_ordering Qt::compareThreeWay (FloatType lhs, IntType rhs) noexcept
template<class Enum, if_enum< Enum > = true>
constexpr Qt::strong_ordering Qt::compareThreeWay (Enum lhs, Enum rhs) noexcept
template<typename Head, typename... Tail, std::size_t... Is>
constexpr std::tuple< Tail... > QtOrderingPrivate::qt_tuple_pop_front_impl (const std::tuple< Head, Tail... > &t, std::index_sequence< Is... >) noexcept
template<typename Head, typename... Tail>
constexpr std::tuple< Tail... > QtOrderingPrivate::qt_tuple_pop_front (const std::tuple< Head, Tail... > &t) noexcept
template<typename LhsHead, typename... LhsTail, typename RhsHead, typename... RhsTail>
constexpr auto QtOrderingPrivate::compareThreeWayMulti (const std::tuple< LhsHead, LhsTail... > &lhs, const std::tuple< RhsHead, RhsTail... > &rhs) noexcept
template<typename T, typename U, if_compatible_pointers< T, U > = true>
constexpr Qt::strong_ordering Qt::compareThreeWay (Qt::totally_ordered_wrapper< T * > lhs, Qt::totally_ordered_wrapper< U * > rhs) noexcept
template<typename T, typename U, if_compatible_pointers< T, U > = true>
constexpr Qt::strong_ordering Qt::compareThreeWay (Qt::totally_ordered_wrapper< T * > lhs, U *rhs) noexcept
template<typename T, typename U, if_compatible_pointers< T, U > = true>
constexpr Qt::strong_ordering Qt::compareThreeWay (U *lhs, Qt::totally_ordered_wrapper< T * > rhs) noexcept
template<typename T>
constexpr Qt::strong_ordering Qt::compareThreeWay (Qt::totally_ordered_wrapper< T * > lhs, std::nullptr_t rhs) noexcept
template<typename T>
constexpr Qt::strong_ordering Qt::compareThreeWay (std::nullptr_t lhs, Qt::totally_ordered_wrapper< T * > rhs) noexcept
template<typename LT, typename RT, std::enable_if_t< hasCompareThreeWay_v< LT, RT >, bool > = true>
constexpr bool QtOrderingPrivate::CompareThreeWayTester::compareThreeWayNoexcept () noexcept
template<typename LT, typename RT, std::enable_if_t< std::conjunction_v< std::negation< HasCompareThreeWay< LT, RT > >, HasCompareThreeWay< RT, LT > >, bool > = true>
constexpr bool QtOrderingPrivate::CompareThreeWayTester::compareThreeWayNoexcept () noexcept
template<typename InputIt1, typename InputIt2, typename Compare>
auto QtOrderingPrivate::lexicographicalCompareThreeWay (InputIt1 first1, InputIt1 last1, InputIt2 first2, InputIt2 last2, Compare cmp)
template<typename InputIt1, typename InputIt2>
auto QtOrderingPrivate::lexicographicalCompareThreeWay (InputIt1 first1, InputIt1 last1, InputIt2 first2, InputIt2 last2)
template<typename LeftInt, typename RightInt, if_integral< LeftInt > = true, if_integral< RightInt > = true>
constexpr Qt::strong_ordering QtOrderingPrivate::CompareThreeWayTester::compareThreeWay (LeftInt lhs, RightInt rhs) noexcept

Variables

template<typename T>
constexpr bool QtOrderingPrivate::is_std_ordering_type_v = is_std_ordering_type<T>::value
template<typename T>
constexpr bool QtOrderingPrivate::is_qt_ordering_type_v = is_qt_ordering_type<T>::value
template<typename T>
constexpr bool QtOrderingPrivate::is_ordering_type_v = std::disjunction_v<is_qt_ordering_type<T>, is_std_ordering_type<T>>
template<typename T>
constexpr bool QtPrivate::IsIntegralType_v
template<typename T>
constexpr bool QtPrivate::IsFloatType_v = std::is_floating_point_v<T>
template<typename LT, typename RT>
constexpr bool QtOrderingPrivate::CompareThreeWayTester::hasCompareThreeWay_v = HasCompareThreeWay<LT, RT>::value

Macro Definition Documentation

◆ MAKE_RELOP

#define MAKE_RELOP ( Ret,
op,
Op )
Value:
template <typename U = P, if_compatible_types<P, U> = true> \
friend constexpr Ret operator op (const totally_ordered_wrapper<P> &lhs, const totally_ordered_wrapper<U> &rhs) noexcept \
{ return std:: Op {}(lhs.ptr, rhs.get()); } \
template <typename U = P, if_compatible_types<P, U> = true> \
friend constexpr Ret operator op (const totally_ordered_wrapper<P> &lhs, const U &rhs) noexcept \
{ return std:: Op {}(lhs.ptr, rhs ); } \
template <typename U = P, if_compatible_types<P, U> = true> \
friend constexpr Ret operator op (const U &lhs, const totally_ordered_wrapper<P> &rhs) noexcept \
{ return std:: Op {}(lhs, rhs.ptr); } \
friend constexpr Ret operator op (const totally_ordered_wrapper &lhs, std::nullptr_t) noexcept \
{ return std:: Op {}(lhs.ptr, P(nullptr)); } \
friend constexpr Ret operator op (std::nullptr_t, const totally_ordered_wrapper &rhs) noexcept \
{ return std:: Op {}(P(nullptr), rhs.ptr); } \
/* end */
#define P(a, b, c, d, k, s, t)

Definition at line 1119 of file qcomparehelpers.h.

◆ Q_DECLARE_EQUALITY_COMPARABLE

#define Q_DECLARE_EQUALITY_COMPARABLE ( ...)
Value:
QT_OVERLOADED_MACRO(QT_DECLARE_EQUALITY_COMPARABLE, __VA_ARGS__)
#define QT_OVERLOADED_MACRO(MACRO,...)
Definition qoverload.h:76

Definition at line 430 of file qcomparehelpers.h.

◆ Q_DECLARE_EQUALITY_COMPARABLE_LITERAL_TYPE

#define Q_DECLARE_EQUALITY_COMPARABLE_LITERAL_TYPE ( ...)
Value:
QT_OVERLOADED_MACRO(QT_DECLARE_EQUALITY_COMPARABLE_LITERAL_TYPE, __VA_ARGS__)

Definition at line 462 of file qcomparehelpers.h.

◆ Q_DECLARE_EQUALITY_COMPARABLE_NON_NOEXCEPT

#define Q_DECLARE_EQUALITY_COMPARABLE_NON_NOEXCEPT ( ...)
Value:
QT_OVERLOADED_MACRO(QT_DECLARE_EQUALITY_COMPARABLE_NON_NOEXCEPT, __VA_ARGS__)

Definition at line 494 of file qcomparehelpers.h.

◆ Q_DECLARE_ORDERED

#define Q_DECLARE_ORDERED ( ...)
Value:
QT_OVERLOADED_MACRO(QT_DECLARE_ORDERED, __VA_ARGS__)

Definition at line 521 of file qcomparehelpers.h.

◆ Q_DECLARE_ORDERED_LITERAL_TYPE

#define Q_DECLARE_ORDERED_LITERAL_TYPE ( ...)
Value:
QT_OVERLOADED_MACRO(QT_DECLARE_ORDERED_LITERAL_TYPE, __VA_ARGS__)

Definition at line 552 of file qcomparehelpers.h.

◆ Q_DECLARE_ORDERED_NON_NOEXCEPT

#define Q_DECLARE_ORDERED_NON_NOEXCEPT ( ...)
Value:
QT_OVERLOADED_MACRO(QT_DECLARE_ORDERED_NON_NOEXCEPT, __VA_ARGS__)

Definition at line 584 of file qcomparehelpers.h.

◆ Q_DECLARE_PARTIALLY_ORDERED

#define Q_DECLARE_PARTIALLY_ORDERED ( ...)
Value:
QT_OVERLOADED_MACRO(QT_DECLARE_PARTIALLY_ORDERED, __VA_ARGS__)

Definition at line 618 of file qcomparehelpers.h.

◆ Q_DECLARE_PARTIALLY_ORDERED_LITERAL_TYPE

#define Q_DECLARE_PARTIALLY_ORDERED_LITERAL_TYPE ( ...)
Value:
QT_OVERLOADED_MACRO(QT_DECLARE_PARTIALLY_ORDERED_LITERAL_TYPE, __VA_ARGS__)

Definition at line 650 of file qcomparehelpers.h.

◆ Q_DECLARE_PARTIALLY_ORDERED_NON_NOEXCEPT

#define Q_DECLARE_PARTIALLY_ORDERED_NON_NOEXCEPT ( ...)
Value:
QT_OVERLOADED_MACRO(QT_DECLARE_PARTIALLY_ORDERED_NON_NOEXCEPT, __VA_ARGS__)

Definition at line 683 of file qcomparehelpers.h.

◆ Q_DECLARE_STRONGLY_ORDERED

#define Q_DECLARE_STRONGLY_ORDERED ( ...)
Value:
QT_OVERLOADED_MACRO(QT_DECLARE_STRONGLY_ORDERED, __VA_ARGS__)

Definition at line 814 of file qcomparehelpers.h.

◆ Q_DECLARE_STRONGLY_ORDERED_LITERAL_TYPE

#define Q_DECLARE_STRONGLY_ORDERED_LITERAL_TYPE ( ...)
Value:
QT_OVERLOADED_MACRO(QT_DECLARE_STRONGLY_ORDERED_LITERAL_TYPE, __VA_ARGS__)

Definition at line 846 of file qcomparehelpers.h.

◆ Q_DECLARE_STRONGLY_ORDERED_NON_NOEXCEPT

#define Q_DECLARE_STRONGLY_ORDERED_NON_NOEXCEPT ( ...)
Value:
QT_OVERLOADED_MACRO(QT_DECLARE_STRONGLY_ORDERED_NON_NOEXCEPT, __VA_ARGS__)

Definition at line 879 of file qcomparehelpers.h.

◆ Q_DECLARE_WEAKLY_ORDERED

#define Q_DECLARE_WEAKLY_ORDERED ( ...)
Value:
QT_OVERLOADED_MACRO(QT_DECLARE_WEAKLY_ORDERED, __VA_ARGS__)

Definition at line 716 of file qcomparehelpers.h.

◆ Q_DECLARE_WEAKLY_ORDERED_LITERAL_TYPE

#define Q_DECLARE_WEAKLY_ORDERED_LITERAL_TYPE ( ...)
Value:
QT_OVERLOADED_MACRO(QT_DECLARE_WEAKLY_ORDERED_LITERAL_TYPE, __VA_ARGS__)

Definition at line 748 of file qcomparehelpers.h.

◆ Q_DECLARE_WEAKLY_ORDERED_NON_NOEXCEPT

#define Q_DECLARE_WEAKLY_ORDERED_NON_NOEXCEPT ( ...)
Value:
QT_OVERLOADED_MACRO(QT_DECLARE_WEAKLY_ORDERED_NON_NOEXCEPT, __VA_ARGS__)

Definition at line 780 of file qcomparehelpers.h.

◆ QT_COMPARISON_NOEXCEPT_CHECK

#define QT_COMPARISON_NOEXCEPT_CHECK ( Noexcept,
Func )
Value:
constexpr auto f = []() Noexcept {}; \
static_assert(!noexcept(f()) || noexcept(Func(lhs, rhs)), \
"Use *_NON_NOEXCEPT version of the macro, " \
"or make the helper function noexcept")
GLfloat GLfloat f
[26]

Definition at line 158 of file qcomparehelpers.h.

◆ QT_DECLARE_EQUALITY_COMPARABLE_1

#define QT_DECLARE_EQUALITY_COMPARABLE_1 ( Type)
Value:
QT_DECLARE_EQUALITY_OPERATORS_HELPER(Type, Type, /* non-constexpr */, noexcept(true), \
/* no attributes */)
#define QT_DECLARE_EQUALITY_OPERATORS_HELPER(LeftType, RightType, Constexpr, Noexcept,...)
Definition moc.h:33

Definition at line 401 of file qcomparehelpers.h.

◆ QT_DECLARE_EQUALITY_COMPARABLE_2

#define QT_DECLARE_EQUALITY_COMPARABLE_2 ( LeftType,
RightType )
Value:
QT_DECLARE_EQUALITY_OPERATORS_HELPER(LeftType, RightType, /* non-constexpr */, \
noexcept(true), /* no attributes */) \
QT_DECLARE_EQUALITY_OPERATORS_REVERSED_HELPER(LeftType, RightType, /* non-constexpr */, \
noexcept(true), /* no attributes */)

Definition at line 405 of file qcomparehelpers.h.

◆ QT_DECLARE_EQUALITY_COMPARABLE_3

#define QT_DECLARE_EQUALITY_COMPARABLE_3 ( LeftType,
RightType,
... )
Value:
QT_DECLARE_EQUALITY_OPERATORS_HELPER(LeftType, RightType, /* non-constexpr */, \
noexcept(true), __VA_ARGS__) \
QT_DECLARE_EQUALITY_OPERATORS_REVERSED_HELPER(LeftType, RightType, /* non-constexpr */, \
noexcept(true), __VA_ARGS__)

Definition at line 411 of file qcomparehelpers.h.

◆ QT_DECLARE_EQUALITY_COMPARABLE_4

#define QT_DECLARE_EQUALITY_COMPARABLE_4 ( ...)
Value:
#define QT_DECLARE_EQUALITY_COMPARABLE_3(LeftType, RightType,...)
#define QT_VA_ARGS_EXPAND(...)
Definition qoverload.h:72

Definition at line 417 of file qcomparehelpers.h.

◆ QT_DECLARE_EQUALITY_COMPARABLE_5

#define QT_DECLARE_EQUALITY_COMPARABLE_5 ( ...)
Value:

Definition at line 419 of file qcomparehelpers.h.

◆ QT_DECLARE_EQUALITY_COMPARABLE_6

#define QT_DECLARE_EQUALITY_COMPARABLE_6 ( ...)
Value:

Definition at line 421 of file qcomparehelpers.h.

◆ QT_DECLARE_EQUALITY_COMPARABLE_7

#define QT_DECLARE_EQUALITY_COMPARABLE_7 ( ...)
Value:

Definition at line 423 of file qcomparehelpers.h.

◆ QT_DECLARE_EQUALITY_COMPARABLE_8

#define QT_DECLARE_EQUALITY_COMPARABLE_8 ( ...)
Value:

Definition at line 425 of file qcomparehelpers.h.

◆ QT_DECLARE_EQUALITY_COMPARABLE_9

#define QT_DECLARE_EQUALITY_COMPARABLE_9 ( ...)
Value:

Definition at line 427 of file qcomparehelpers.h.

◆ QT_DECLARE_EQUALITY_COMPARABLE_LITERAL_TYPE_1

#define QT_DECLARE_EQUALITY_COMPARABLE_LITERAL_TYPE_1 ( Type)
Value:
QT_DECLARE_EQUALITY_OPERATORS_HELPER(Type, Type, constexpr, noexcept(true), \
/* no attributes */)

Definition at line 433 of file qcomparehelpers.h.

◆ QT_DECLARE_EQUALITY_COMPARABLE_LITERAL_TYPE_2

#define QT_DECLARE_EQUALITY_COMPARABLE_LITERAL_TYPE_2 ( LeftType,
RightType )
Value:
QT_DECLARE_EQUALITY_OPERATORS_HELPER(LeftType, RightType, constexpr, noexcept(true), \
/* no attributes */) \
QT_DECLARE_EQUALITY_OPERATORS_REVERSED_HELPER(LeftType, RightType, constexpr, \
noexcept(true), /* no attributes */)

Definition at line 437 of file qcomparehelpers.h.

◆ QT_DECLARE_EQUALITY_COMPARABLE_LITERAL_TYPE_3

#define QT_DECLARE_EQUALITY_COMPARABLE_LITERAL_TYPE_3 ( LeftType,
RightType,
... )
Value:
QT_DECLARE_EQUALITY_OPERATORS_HELPER(LeftType, RightType, constexpr, noexcept(true), \
__VA_ARGS__) \
QT_DECLARE_EQUALITY_OPERATORS_REVERSED_HELPER(LeftType, RightType, constexpr, noexcept(true), \
__VA_ARGS__)

Definition at line 443 of file qcomparehelpers.h.

◆ QT_DECLARE_EQUALITY_COMPARABLE_LITERAL_TYPE_4

#define QT_DECLARE_EQUALITY_COMPARABLE_LITERAL_TYPE_4 ( ...)
Value:
#define QT_DECLARE_EQUALITY_COMPARABLE_LITERAL_TYPE_3(LeftType, RightType,...)

Definition at line 449 of file qcomparehelpers.h.

◆ QT_DECLARE_EQUALITY_COMPARABLE_LITERAL_TYPE_5

#define QT_DECLARE_EQUALITY_COMPARABLE_LITERAL_TYPE_5 ( ...)

◆ QT_DECLARE_EQUALITY_COMPARABLE_LITERAL_TYPE_6

#define QT_DECLARE_EQUALITY_COMPARABLE_LITERAL_TYPE_6 ( ...)

◆ QT_DECLARE_EQUALITY_COMPARABLE_LITERAL_TYPE_7

#define QT_DECLARE_EQUALITY_COMPARABLE_LITERAL_TYPE_7 ( ...)

◆ QT_DECLARE_EQUALITY_COMPARABLE_LITERAL_TYPE_8

#define QT_DECLARE_EQUALITY_COMPARABLE_LITERAL_TYPE_8 ( ...)

◆ QT_DECLARE_EQUALITY_COMPARABLE_LITERAL_TYPE_9

#define QT_DECLARE_EQUALITY_COMPARABLE_LITERAL_TYPE_9 ( ...)

◆ QT_DECLARE_EQUALITY_COMPARABLE_NON_NOEXCEPT_1

#define QT_DECLARE_EQUALITY_COMPARABLE_NON_NOEXCEPT_1 ( Type)
Value:
QT_DECLARE_EQUALITY_OPERATORS_HELPER(Type, Type, /* non-constexpr */, noexcept(false), \
/* no attributes */)

Definition at line 465 of file qcomparehelpers.h.

◆ QT_DECLARE_EQUALITY_COMPARABLE_NON_NOEXCEPT_2

#define QT_DECLARE_EQUALITY_COMPARABLE_NON_NOEXCEPT_2 ( LeftType,
RightType )
Value:
QT_DECLARE_EQUALITY_OPERATORS_HELPER(LeftType, RightType, /* non-constexpr */, \
noexcept(false), /* no attributes */) \
QT_DECLARE_EQUALITY_OPERATORS_REVERSED_HELPER(LeftType, RightType, /* non-constexpr */, \
noexcept(false), /* no attributes */)

Definition at line 469 of file qcomparehelpers.h.

◆ QT_DECLARE_EQUALITY_COMPARABLE_NON_NOEXCEPT_3

#define QT_DECLARE_EQUALITY_COMPARABLE_NON_NOEXCEPT_3 ( LeftType,
RightType,
... )
Value:
QT_DECLARE_EQUALITY_OPERATORS_HELPER(LeftType, RightType, /* non-constexpr */, \
noexcept(false), __VA_ARGS__) \
QT_DECLARE_EQUALITY_OPERATORS_REVERSED_HELPER(LeftType, RightType, /* non-constexpr */, \
noexcept(false), __VA_ARGS__)

Definition at line 475 of file qcomparehelpers.h.

◆ QT_DECLARE_EQUALITY_COMPARABLE_NON_NOEXCEPT_4

#define QT_DECLARE_EQUALITY_COMPARABLE_NON_NOEXCEPT_4 ( ...)
Value:
#define QT_DECLARE_EQUALITY_COMPARABLE_NON_NOEXCEPT_3(LeftType, RightType,...)

Definition at line 481 of file qcomparehelpers.h.

◆ QT_DECLARE_EQUALITY_COMPARABLE_NON_NOEXCEPT_5

#define QT_DECLARE_EQUALITY_COMPARABLE_NON_NOEXCEPT_5 ( ...)

◆ QT_DECLARE_EQUALITY_COMPARABLE_NON_NOEXCEPT_6

#define QT_DECLARE_EQUALITY_COMPARABLE_NON_NOEXCEPT_6 ( ...)

◆ QT_DECLARE_EQUALITY_COMPARABLE_NON_NOEXCEPT_7

#define QT_DECLARE_EQUALITY_COMPARABLE_NON_NOEXCEPT_7 ( ...)

◆ QT_DECLARE_EQUALITY_COMPARABLE_NON_NOEXCEPT_8

#define QT_DECLARE_EQUALITY_COMPARABLE_NON_NOEXCEPT_8 ( ...)

◆ QT_DECLARE_EQUALITY_COMPARABLE_NON_NOEXCEPT_9

#define QT_DECLARE_EQUALITY_COMPARABLE_NON_NOEXCEPT_9 ( ...)

◆ QT_DECLARE_EQUALITY_OPERATORS_HELPER

#define QT_DECLARE_EQUALITY_OPERATORS_HELPER ( LeftType,
RightType,
Constexpr,
Noexcept,
... )
Value:
__VA_ARGS__ \
friend Constexpr bool operator==(LeftType const &lhs, RightType const &rhs) Noexcept \
{ \
QT_COMPARISON_NOEXCEPT_CHECK(Noexcept, comparesEqual); \
return comparesEqual(lhs, rhs); \
} \
__VA_ARGS__ \
friend Constexpr bool operator!=(LeftType const &lhs, RightType const &rhs) Noexcept \
{ return !comparesEqual(lhs, rhs); }
constexpr bool operator!=(const timespec &t1, const timespec &t2)
bool comparesEqual(const QDir &lhs, const QDir &rhs)
Definition qdir.cpp:1936
bool operator==(const Employee &e1, const Employee &e2)

Definition at line 295 of file qcomparehelpers.h.

◆ QT_DECLARE_EQUALITY_OPERATORS_REVERSED_HELPER

#define QT_DECLARE_EQUALITY_OPERATORS_REVERSED_HELPER ( LeftType,
RightType,
Constexpr,
Noexcept,
... )
Value:
__VA_ARGS__ \
friend Constexpr bool operator==(RightType const &lhs, LeftType const &rhs) Noexcept \
{ return comparesEqual(rhs, lhs); } \
__VA_ARGS__ \
friend Constexpr bool operator!=(RightType const &lhs, LeftType const &rhs) Noexcept \
{ return !comparesEqual(rhs, lhs); }

Definition at line 308 of file qcomparehelpers.h.

◆ QT_DECLARE_ORDERED_1

#define QT_DECLARE_ORDERED_1 ( Type)
Value:
QT_DECLARE_ORDERING_OPERATORS_HELPER(AUTO, Type, Type, /* non-constexpr */, noexcept(true), \
/* no attributes */)
#define QT_DECLARE_ORDERING_OPERATORS_HELPER(OrderingString, LeftType, RightType, Constexpr, Noexcept,...)

Definition at line 498 of file qcomparehelpers.h.

◆ QT_DECLARE_ORDERED_2

#define QT_DECLARE_ORDERED_2 ( LeftType,
RightType )
Value:
QT_DECLARE_ORDERING_OPERATORS_HELPER(AUTO, LeftType, RightType, /* non-constexpr */, \
noexcept(true), /* no attributes */) \
QT_DECLARE_ORDERING_OPERATORS_REVERSED_HELPER(AUTO, LeftType, RightType, /* non-constexpr */, \
noexcept(true), /* no attributes */)

Definition at line 502 of file qcomparehelpers.h.

◆ QT_DECLARE_ORDERED_3

#define QT_DECLARE_ORDERED_3 ( LeftType,
RightType,
... )
Value:
QT_DECLARE_ORDERING_OPERATORS_HELPER(AUTO, LeftType, RightType, /* non-constexpr */, \
noexcept(true), __VA_ARGS__) \
QT_DECLARE_ORDERING_OPERATORS_REVERSED_HELPER(AUTO, LeftType, RightType, /* non-constexpr */, \
noexcept(true), __VA_ARGS__)

Definition at line 508 of file qcomparehelpers.h.

◆ QT_DECLARE_ORDERED_4

#define QT_DECLARE_ORDERED_4 ( ...)
Value:
#define QT_DECLARE_ORDERED_3(LeftType, RightType,...)

Definition at line 514 of file qcomparehelpers.h.

◆ QT_DECLARE_ORDERED_5

#define QT_DECLARE_ORDERED_5 ( ...)
Value:

Definition at line 515 of file qcomparehelpers.h.

◆ QT_DECLARE_ORDERED_6

#define QT_DECLARE_ORDERED_6 ( ...)
Value:

Definition at line 516 of file qcomparehelpers.h.

◆ QT_DECLARE_ORDERED_7

#define QT_DECLARE_ORDERED_7 ( ...)
Value:

Definition at line 517 of file qcomparehelpers.h.

◆ QT_DECLARE_ORDERED_8

#define QT_DECLARE_ORDERED_8 ( ...)
Value:

Definition at line 518 of file qcomparehelpers.h.

◆ QT_DECLARE_ORDERED_9

#define QT_DECLARE_ORDERED_9 ( ...)
Value:

Definition at line 519 of file qcomparehelpers.h.

◆ QT_DECLARE_ORDERED_LITERAL_TYPE_1

#define QT_DECLARE_ORDERED_LITERAL_TYPE_1 ( Type)
Value:
QT_DECLARE_ORDERING_OPERATORS_HELPER(AUTO, Type, Type, constexpr, noexcept(true), \
/* no attributes */)

Definition at line 523 of file qcomparehelpers.h.

◆ QT_DECLARE_ORDERED_LITERAL_TYPE_2

#define QT_DECLARE_ORDERED_LITERAL_TYPE_2 ( LeftType,
RightType )
Value:
QT_DECLARE_ORDERING_OPERATORS_HELPER(AUTO, LeftType, RightType, constexpr, \
noexcept(true), /* no attributes */) \
QT_DECLARE_ORDERING_OPERATORS_REVERSED_HELPER(AUTO, LeftType, RightType, constexpr, \
noexcept(true), /* no attributes */)

Definition at line 527 of file qcomparehelpers.h.

◆ QT_DECLARE_ORDERED_LITERAL_TYPE_3

#define QT_DECLARE_ORDERED_LITERAL_TYPE_3 ( LeftType,
RightType,
... )
Value:
QT_DECLARE_ORDERING_OPERATORS_HELPER(AUTO, LeftType, RightType, constexpr, \
noexcept(true), __VA_ARGS__) \
QT_DECLARE_ORDERING_OPERATORS_REVERSED_HELPER(AUTO, LeftType, RightType, constexpr, \
noexcept(true), __VA_ARGS__)

Definition at line 533 of file qcomparehelpers.h.

◆ QT_DECLARE_ORDERED_LITERAL_TYPE_4

#define QT_DECLARE_ORDERED_LITERAL_TYPE_4 ( ...)
Value:
#define QT_DECLARE_ORDERED_LITERAL_TYPE_3(LeftType, RightType,...)

Definition at line 539 of file qcomparehelpers.h.

◆ QT_DECLARE_ORDERED_LITERAL_TYPE_5

#define QT_DECLARE_ORDERED_LITERAL_TYPE_5 ( ...)
Value:

Definition at line 541 of file qcomparehelpers.h.

◆ QT_DECLARE_ORDERED_LITERAL_TYPE_6

#define QT_DECLARE_ORDERED_LITERAL_TYPE_6 ( ...)
Value:

Definition at line 543 of file qcomparehelpers.h.

◆ QT_DECLARE_ORDERED_LITERAL_TYPE_7

#define QT_DECLARE_ORDERED_LITERAL_TYPE_7 ( ...)
Value:

Definition at line 545 of file qcomparehelpers.h.

◆ QT_DECLARE_ORDERED_LITERAL_TYPE_8

#define QT_DECLARE_ORDERED_LITERAL_TYPE_8 ( ...)
Value:

Definition at line 547 of file qcomparehelpers.h.

◆ QT_DECLARE_ORDERED_LITERAL_TYPE_9

#define QT_DECLARE_ORDERED_LITERAL_TYPE_9 ( ...)
Value:

Definition at line 549 of file qcomparehelpers.h.

◆ QT_DECLARE_ORDERED_NON_NOEXCEPT_1

#define QT_DECLARE_ORDERED_NON_NOEXCEPT_1 ( Type)
Value:
QT_DECLARE_ORDERING_OPERATORS_HELPER(AUTO, Type, Type, /* non-constexpr */, noexcept(false), \
/* no attributes */)

Definition at line 555 of file qcomparehelpers.h.

◆ QT_DECLARE_ORDERED_NON_NOEXCEPT_2

#define QT_DECLARE_ORDERED_NON_NOEXCEPT_2 ( LeftType,
RightType )
Value:
QT_DECLARE_ORDERING_OPERATORS_HELPER(AUTO, LeftType, RightType, /* non-constexpr */, \
noexcept(false), /* no attributes */) \
QT_DECLARE_ORDERING_OPERATORS_REVERSED_HELPER(AUTO, LeftType, RightType, /* non-constexpr */, \
noexcept(false), /* no attributes */)

Definition at line 559 of file qcomparehelpers.h.

◆ QT_DECLARE_ORDERED_NON_NOEXCEPT_3

#define QT_DECLARE_ORDERED_NON_NOEXCEPT_3 ( LeftType,
RightType,
... )
Value:
QT_DECLARE_ORDERING_OPERATORS_HELPER(AUTO, LeftType, RightType, /* non-constexpr */, \
noexcept(false), __VA_ARGS__) \
QT_DECLARE_ORDERING_OPERATORS_REVERSED_HELPER(AUTO, LeftType, RightType, /* non-constexpr */, \
noexcept(false), __VA_ARGS__)

Definition at line 565 of file qcomparehelpers.h.

◆ QT_DECLARE_ORDERED_NON_NOEXCEPT_4

#define QT_DECLARE_ORDERED_NON_NOEXCEPT_4 ( ...)
Value:
#define QT_DECLARE_ORDERED_NON_NOEXCEPT_3(LeftType, RightType,...)

Definition at line 571 of file qcomparehelpers.h.

◆ QT_DECLARE_ORDERED_NON_NOEXCEPT_5

#define QT_DECLARE_ORDERED_NON_NOEXCEPT_5 ( ...)
Value:

Definition at line 573 of file qcomparehelpers.h.

◆ QT_DECLARE_ORDERED_NON_NOEXCEPT_6

#define QT_DECLARE_ORDERED_NON_NOEXCEPT_6 ( ...)
Value:

Definition at line 575 of file qcomparehelpers.h.

◆ QT_DECLARE_ORDERED_NON_NOEXCEPT_7

#define QT_DECLARE_ORDERED_NON_NOEXCEPT_7 ( ...)
Value:

Definition at line 577 of file qcomparehelpers.h.

◆ QT_DECLARE_ORDERED_NON_NOEXCEPT_8

#define QT_DECLARE_ORDERED_NON_NOEXCEPT_8 ( ...)
Value:

Definition at line 579 of file qcomparehelpers.h.

◆ QT_DECLARE_ORDERED_NON_NOEXCEPT_9

#define QT_DECLARE_ORDERED_NON_NOEXCEPT_9 ( ...)
Value:

Definition at line 581 of file qcomparehelpers.h.

◆ QT_DECLARE_ORDERING_HELPER_AUTO

#define QT_DECLARE_ORDERING_HELPER_AUTO ( LeftType,
RightType,
Constexpr,
Noexcept,
... )
Value:
QT_DECLARE_ORDERING_HELPER_TEMPLATE(auto, LeftType, RightType, Constexpr, Noexcept, \
__VA_ARGS__)
#define QT_DECLARE_ORDERING_HELPER_TEMPLATE(OrderingType, LeftType, RightType, Constexpr, Noexcept,...)

Definition at line 335 of file qcomparehelpers.h.

◆ QT_DECLARE_ORDERING_HELPER_PARTIAL

#define QT_DECLARE_ORDERING_HELPER_PARTIAL ( LeftType,
RightType,
Constexpr,
Noexcept,
... )
Value:
QT_DECLARE_ORDERING_HELPER_TEMPLATE(Qt::partial_ordering, LeftType, RightType, Constexpr, \
Noexcept, __VA_ARGS__)
\variable Qt::weak_ordering::less
Definition qcompare.h:82

Definition at line 339 of file qcomparehelpers.h.

◆ QT_DECLARE_ORDERING_HELPER_STRONG

#define QT_DECLARE_ORDERING_HELPER_STRONG ( LeftType,
RightType,
Constexpr,
Noexcept,
... )
Value:
QT_DECLARE_ORDERING_HELPER_TEMPLATE(Qt::strong_ordering, LeftType, RightType, Constexpr, \
Noexcept, __VA_ARGS__)
\inmodule QtCore \title Classes and helpers for defining comparison operators \keyword qtcompare
Definition qcompare.h:440

Definition at line 347 of file qcomparehelpers.h.

◆ QT_DECLARE_ORDERING_HELPER_TEMPLATE

#define QT_DECLARE_ORDERING_HELPER_TEMPLATE ( OrderingType,
LeftType,
RightType,
Constexpr,
Noexcept,
... )
Value:
__VA_ARGS__ \
friend Constexpr bool operator<(LeftType const &lhs, RightType const &rhs) Noexcept \
{ \
QT_COMPARISON_NOEXCEPT_CHECK(Noexcept, compareThreeWay); \
return is_lt(compareThreeWay(lhs, rhs)); \
} \
__VA_ARGS__ \
friend Constexpr bool operator>(LeftType const &lhs, RightType const &rhs) Noexcept \
{ return is_gt(compareThreeWay(lhs, rhs)); } \
__VA_ARGS__ \
friend Constexpr bool operator<=(LeftType const &lhs, RightType const &rhs) Noexcept \
{ return is_lteq(compareThreeWay(lhs, rhs)); } \
__VA_ARGS__ \
friend Constexpr bool operator>=(LeftType const &lhs, RightType const &rhs) Noexcept \
{ return is_gteq(compareThreeWay(lhs, rhs)); }
bool operator<=(const QPoint &a, const QPoint &b)
bool operator>=(const QPoint &a, const QPoint &b)
bool operator>(const QPoint &a, const QPoint &b)
Qt::weak_ordering compareThreeWay(const QUrl &lhs, const QUrl &rhs)
Definition qurl.cpp:3052
bool operator<(const Employee &e1, const Employee &e2)

Definition at line 317 of file qcomparehelpers.h.

◆ QT_DECLARE_ORDERING_HELPER_WEAK

#define QT_DECLARE_ORDERING_HELPER_WEAK ( LeftType,
RightType,
Constexpr,
Noexcept,
... )
Value:
QT_DECLARE_ORDERING_HELPER_TEMPLATE(Qt::weak_ordering, LeftType, RightType, Constexpr, \
Noexcept, __VA_ARGS__)
\variable Qt::strong_ordering::less
Definition qcompare.h:261

Definition at line 343 of file qcomparehelpers.h.

◆ QT_DECLARE_ORDERING_OPERATORS_HELPER

#define QT_DECLARE_ORDERING_OPERATORS_HELPER ( OrderingString,
LeftType,
RightType,
Constexpr,
Noexcept,
... )
Value:
QT_DECLARE_EQUALITY_OPERATORS_HELPER(LeftType, RightType, Constexpr, Noexcept, __VA_ARGS__) \
QT_DECLARE_ORDERING_HELPER_ ## OrderingString (LeftType, RightType, Constexpr, Noexcept, \
__VA_ARGS__)

Definition at line 351 of file qcomparehelpers.h.

◆ QT_DECLARE_ORDERING_OPERATORS_REVERSED_HELPER

#define QT_DECLARE_ORDERING_OPERATORS_REVERSED_HELPER ( OrderingString,
LeftType,
RightType,
Constexpr,
Noexcept,
... )
Value:
QT_DECLARE_EQUALITY_OPERATORS_REVERSED_HELPER(LeftType, RightType, Constexpr, Noexcept, \
__VA_ARGS__) \
QT_DECLARE_REVERSED_ORDERING_HELPER_ ## OrderingString (LeftType, RightType, Constexpr, \
Noexcept, __VA_ARGS__)
#define QT_DECLARE_EQUALITY_OPERATORS_REVERSED_HELPER(LeftType, RightType, Constexpr, Noexcept,...)

Definition at line 389 of file qcomparehelpers.h.

◆ QT_DECLARE_PARTIALLY_ORDERED_1

#define QT_DECLARE_PARTIALLY_ORDERED_1 ( Type)
Value:
QT_DECLARE_ORDERING_OPERATORS_HELPER(PARTIAL, Type, Type, /* non-constexpr */, \
noexcept(true), /* no attributes */)

Definition at line 588 of file qcomparehelpers.h.

◆ QT_DECLARE_PARTIALLY_ORDERED_2

#define QT_DECLARE_PARTIALLY_ORDERED_2 ( LeftType,
RightType )
Value:
QT_DECLARE_ORDERING_OPERATORS_HELPER(PARTIAL, LeftType, RightType, /* non-constexpr */, \
noexcept(true), /* no attributes */) \
QT_DECLARE_ORDERING_OPERATORS_REVERSED_HELPER(PARTIAL, LeftType, RightType, \
/* non-constexpr */, noexcept(true), \
/* no attributes */)

Definition at line 592 of file qcomparehelpers.h.

◆ QT_DECLARE_PARTIALLY_ORDERED_3

#define QT_DECLARE_PARTIALLY_ORDERED_3 ( LeftType,
RightType,
... )
Value:
QT_DECLARE_ORDERING_OPERATORS_HELPER(PARTIAL, LeftType, RightType, /* non-constexpr */, \
noexcept(true), __VA_ARGS__) \
QT_DECLARE_ORDERING_OPERATORS_REVERSED_HELPER(PARTIAL, LeftType, RightType, \
/* non-constexpr */, noexcept(true), __VA_ARGS__)

Definition at line 599 of file qcomparehelpers.h.

◆ QT_DECLARE_PARTIALLY_ORDERED_4

#define QT_DECLARE_PARTIALLY_ORDERED_4 ( ...)
Value:
#define QT_DECLARE_PARTIALLY_ORDERED_3(LeftType, RightType,...)

Definition at line 605 of file qcomparehelpers.h.

◆ QT_DECLARE_PARTIALLY_ORDERED_5

#define QT_DECLARE_PARTIALLY_ORDERED_5 ( ...)
Value:

Definition at line 607 of file qcomparehelpers.h.

◆ QT_DECLARE_PARTIALLY_ORDERED_6

#define QT_DECLARE_PARTIALLY_ORDERED_6 ( ...)
Value:

Definition at line 609 of file qcomparehelpers.h.

◆ QT_DECLARE_PARTIALLY_ORDERED_7

#define QT_DECLARE_PARTIALLY_ORDERED_7 ( ...)
Value:

Definition at line 611 of file qcomparehelpers.h.

◆ QT_DECLARE_PARTIALLY_ORDERED_8

#define QT_DECLARE_PARTIALLY_ORDERED_8 ( ...)
Value:

Definition at line 613 of file qcomparehelpers.h.

◆ QT_DECLARE_PARTIALLY_ORDERED_9

#define QT_DECLARE_PARTIALLY_ORDERED_9 ( ...)
Value:

Definition at line 615 of file qcomparehelpers.h.

◆ QT_DECLARE_PARTIALLY_ORDERED_LITERAL_TYPE_1

#define QT_DECLARE_PARTIALLY_ORDERED_LITERAL_TYPE_1 ( Type)
Value:
QT_DECLARE_ORDERING_OPERATORS_HELPER(PARTIAL, Type, Type, constexpr, noexcept(true), \
/* no attributes */)

Definition at line 621 of file qcomparehelpers.h.

◆ QT_DECLARE_PARTIALLY_ORDERED_LITERAL_TYPE_2

#define QT_DECLARE_PARTIALLY_ORDERED_LITERAL_TYPE_2 ( LeftType,
RightType )
Value:
QT_DECLARE_ORDERING_OPERATORS_HELPER(PARTIAL, LeftType, RightType, constexpr, \
noexcept(true), /* no attributes */) \
QT_DECLARE_ORDERING_OPERATORS_REVERSED_HELPER(PARTIAL, LeftType, RightType, constexpr, \
noexcept(true), /* no attributes */)

Definition at line 625 of file qcomparehelpers.h.

◆ QT_DECLARE_PARTIALLY_ORDERED_LITERAL_TYPE_3

#define QT_DECLARE_PARTIALLY_ORDERED_LITERAL_TYPE_3 ( LeftType,
RightType,
... )
Value:
QT_DECLARE_ORDERING_OPERATORS_HELPER(PARTIAL, LeftType, RightType, constexpr, noexcept(true), \
__VA_ARGS__) \
QT_DECLARE_ORDERING_OPERATORS_REVERSED_HELPER(PARTIAL, LeftType, RightType, constexpr, \
noexcept(true), __VA_ARGS__)

Definition at line 631 of file qcomparehelpers.h.

◆ QT_DECLARE_PARTIALLY_ORDERED_LITERAL_TYPE_4

#define QT_DECLARE_PARTIALLY_ORDERED_LITERAL_TYPE_4 ( ...)
Value:
#define QT_DECLARE_PARTIALLY_ORDERED_LITERAL_TYPE_3(LeftType, RightType,...)

Definition at line 637 of file qcomparehelpers.h.

◆ QT_DECLARE_PARTIALLY_ORDERED_LITERAL_TYPE_5

#define QT_DECLARE_PARTIALLY_ORDERED_LITERAL_TYPE_5 ( ...)
Value:

Definition at line 639 of file qcomparehelpers.h.

◆ QT_DECLARE_PARTIALLY_ORDERED_LITERAL_TYPE_6

#define QT_DECLARE_PARTIALLY_ORDERED_LITERAL_TYPE_6 ( ...)
Value:

Definition at line 641 of file qcomparehelpers.h.

◆ QT_DECLARE_PARTIALLY_ORDERED_LITERAL_TYPE_7

#define QT_DECLARE_PARTIALLY_ORDERED_LITERAL_TYPE_7 ( ...)
Value:

Definition at line 643 of file qcomparehelpers.h.

◆ QT_DECLARE_PARTIALLY_ORDERED_LITERAL_TYPE_8

#define QT_DECLARE_PARTIALLY_ORDERED_LITERAL_TYPE_8 ( ...)
Value:

Definition at line 645 of file qcomparehelpers.h.

◆ QT_DECLARE_PARTIALLY_ORDERED_LITERAL_TYPE_9

#define QT_DECLARE_PARTIALLY_ORDERED_LITERAL_TYPE_9 ( ...)
Value:

Definition at line 647 of file qcomparehelpers.h.

◆ QT_DECLARE_PARTIALLY_ORDERED_NON_NOEXCEPT_1

#define QT_DECLARE_PARTIALLY_ORDERED_NON_NOEXCEPT_1 ( Type)
Value:
QT_DECLARE_ORDERING_OPERATORS_HELPER(PARTIAL, Type, Type, /* non-constexpr */, \
noexcept(false), /* no attributes */)

Definition at line 653 of file qcomparehelpers.h.

◆ QT_DECLARE_PARTIALLY_ORDERED_NON_NOEXCEPT_2

#define QT_DECLARE_PARTIALLY_ORDERED_NON_NOEXCEPT_2 ( LeftType,
RightType )
Value:
QT_DECLARE_ORDERING_OPERATORS_HELPER(PARTIAL, LeftType, RightType, /* non-constexpr */, \
noexcept(false), /* no attributes */) \
QT_DECLARE_ORDERING_OPERATORS_REVERSED_HELPER(PARTIAL, LeftType, RightType, \
/* non-constexpr */, noexcept(false), \
/* no attributes */)

Definition at line 657 of file qcomparehelpers.h.

◆ QT_DECLARE_PARTIALLY_ORDERED_NON_NOEXCEPT_3

#define QT_DECLARE_PARTIALLY_ORDERED_NON_NOEXCEPT_3 ( LeftType,
RightType,
... )
Value:
QT_DECLARE_ORDERING_OPERATORS_HELPER(PARTIAL, LeftType, RightType, /* non-constexpr */, \
noexcept(false), __VA_ARGS__) \
QT_DECLARE_ORDERING_OPERATORS_REVERSED_HELPER(PARTIAL, LeftType, RightType, \
/* non-constexpr */, noexcept(false), __VA_ARGS__)

Definition at line 664 of file qcomparehelpers.h.

◆ QT_DECLARE_PARTIALLY_ORDERED_NON_NOEXCEPT_4

#define QT_DECLARE_PARTIALLY_ORDERED_NON_NOEXCEPT_4 ( ...)
Value:
#define QT_DECLARE_PARTIALLY_ORDERED_NON_NOEXCEPT_3(LeftType, RightType,...)

Definition at line 670 of file qcomparehelpers.h.

◆ QT_DECLARE_PARTIALLY_ORDERED_NON_NOEXCEPT_5

#define QT_DECLARE_PARTIALLY_ORDERED_NON_NOEXCEPT_5 ( ...)
Value:

Definition at line 672 of file qcomparehelpers.h.

◆ QT_DECLARE_PARTIALLY_ORDERED_NON_NOEXCEPT_6

#define QT_DECLARE_PARTIALLY_ORDERED_NON_NOEXCEPT_6 ( ...)
Value:

Definition at line 674 of file qcomparehelpers.h.

◆ QT_DECLARE_PARTIALLY_ORDERED_NON_NOEXCEPT_7

#define QT_DECLARE_PARTIALLY_ORDERED_NON_NOEXCEPT_7 ( ...)
Value:

Definition at line 676 of file qcomparehelpers.h.

◆ QT_DECLARE_PARTIALLY_ORDERED_NON_NOEXCEPT_8

#define QT_DECLARE_PARTIALLY_ORDERED_NON_NOEXCEPT_8 ( ...)
Value:

Definition at line 678 of file qcomparehelpers.h.

◆ QT_DECLARE_PARTIALLY_ORDERED_NON_NOEXCEPT_9

#define QT_DECLARE_PARTIALLY_ORDERED_NON_NOEXCEPT_9 ( ...)
Value:

Definition at line 680 of file qcomparehelpers.h.

◆ QT_DECLARE_REVERSED_ORDERING_HELPER_AUTO

#define QT_DECLARE_REVERSED_ORDERING_HELPER_AUTO ( LeftType,
RightType,
Constexpr,
Noexcept,
... )
Value:
QT_DECLARE_REVERSED_ORDERING_HELPER_TEMPLATE(auto, LeftType, RightType, Constexpr, Noexcept, \
__VA_ARGS__)
#define QT_DECLARE_REVERSED_ORDERING_HELPER_TEMPLATE(OrderingType, LeftType, RightType, Constexpr, Noexcept,...)

Definition at line 373 of file qcomparehelpers.h.

◆ QT_DECLARE_REVERSED_ORDERING_HELPER_PARTIAL

#define QT_DECLARE_REVERSED_ORDERING_HELPER_PARTIAL ( LeftType,
RightType,
Constexpr,
Noexcept,
... )
Value:
Constexpr, Noexcept, __VA_ARGS__)

Definition at line 377 of file qcomparehelpers.h.

◆ QT_DECLARE_REVERSED_ORDERING_HELPER_STRONG

#define QT_DECLARE_REVERSED_ORDERING_HELPER_STRONG ( LeftType,
RightType,
Constexpr,
Noexcept,
... )
Value:
Constexpr, Noexcept, __VA_ARGS__)

Definition at line 385 of file qcomparehelpers.h.

◆ QT_DECLARE_REVERSED_ORDERING_HELPER_TEMPLATE

#define QT_DECLARE_REVERSED_ORDERING_HELPER_TEMPLATE ( OrderingType,
LeftType,
RightType,
Constexpr,
Noexcept,
... )
Value:
__VA_ARGS__ \
friend Constexpr bool operator<(RightType const &lhs, LeftType const &rhs) Noexcept \
{ return is_gt(compareThreeWay(rhs, lhs)); } \
__VA_ARGS__ \
friend Constexpr bool operator>(RightType const &lhs, LeftType const &rhs) Noexcept \
{ return is_lt(compareThreeWay(rhs, lhs)); } \
__VA_ARGS__ \
friend Constexpr bool operator<=(RightType const &lhs, LeftType const &rhs) Noexcept \
{ return is_gteq(compareThreeWay(rhs, lhs)); } \
__VA_ARGS__ \
friend Constexpr bool operator>=(RightType const &lhs, LeftType const &rhs) Noexcept \
{ return is_lteq(compareThreeWay(rhs, lhs)); }

Definition at line 358 of file qcomparehelpers.h.

◆ QT_DECLARE_REVERSED_ORDERING_HELPER_WEAK

#define QT_DECLARE_REVERSED_ORDERING_HELPER_WEAK ( LeftType,
RightType,
Constexpr,
Noexcept,
... )
Value:
Constexpr, Noexcept, __VA_ARGS__)

Definition at line 381 of file qcomparehelpers.h.

◆ QT_DECLARE_STRONGLY_ORDERED_1

#define QT_DECLARE_STRONGLY_ORDERED_1 ( Type)
Value:
QT_DECLARE_ORDERING_OPERATORS_HELPER(STRONG, Type, Type, /* non-constexpr */, \
noexcept(true), /* no attributes */)

Definition at line 784 of file qcomparehelpers.h.

◆ QT_DECLARE_STRONGLY_ORDERED_2

#define QT_DECLARE_STRONGLY_ORDERED_2 ( LeftType,
RightType )
Value:
QT_DECLARE_ORDERING_OPERATORS_HELPER(STRONG, LeftType, RightType, /* non-constexpr */, \
noexcept(true), /* no attributes */) \
QT_DECLARE_ORDERING_OPERATORS_REVERSED_HELPER(STRONG, LeftType, RightType, \
/* non-constexpr */, noexcept(true), \
/* no attributes */)

Definition at line 788 of file qcomparehelpers.h.

◆ QT_DECLARE_STRONGLY_ORDERED_3

#define QT_DECLARE_STRONGLY_ORDERED_3 ( LeftType,
RightType,
... )
Value:
QT_DECLARE_ORDERING_OPERATORS_HELPER(STRONG, LeftType, RightType, /* non-constexpr */, \
noexcept(true), __VA_ARGS__) \
QT_DECLARE_ORDERING_OPERATORS_REVERSED_HELPER(STRONG, LeftType, RightType, \
/* non-constexpr */, noexcept(true), __VA_ARGS__)

Definition at line 795 of file qcomparehelpers.h.

◆ QT_DECLARE_STRONGLY_ORDERED_4

#define QT_DECLARE_STRONGLY_ORDERED_4 ( ...)
Value:
#define QT_DECLARE_STRONGLY_ORDERED_3(LeftType, RightType,...)

Definition at line 801 of file qcomparehelpers.h.

◆ QT_DECLARE_STRONGLY_ORDERED_5

#define QT_DECLARE_STRONGLY_ORDERED_5 ( ...)
Value:

Definition at line 803 of file qcomparehelpers.h.

◆ QT_DECLARE_STRONGLY_ORDERED_6

#define QT_DECLARE_STRONGLY_ORDERED_6 ( ...)
Value:

Definition at line 805 of file qcomparehelpers.h.

◆ QT_DECLARE_STRONGLY_ORDERED_7

#define QT_DECLARE_STRONGLY_ORDERED_7 ( ...)
Value:

Definition at line 807 of file qcomparehelpers.h.

◆ QT_DECLARE_STRONGLY_ORDERED_8

#define QT_DECLARE_STRONGLY_ORDERED_8 ( ...)
Value:

Definition at line 809 of file qcomparehelpers.h.

◆ QT_DECLARE_STRONGLY_ORDERED_9

#define QT_DECLARE_STRONGLY_ORDERED_9 ( ...)
Value:

Definition at line 811 of file qcomparehelpers.h.

◆ QT_DECLARE_STRONGLY_ORDERED_LITERAL_TYPE_1

#define QT_DECLARE_STRONGLY_ORDERED_LITERAL_TYPE_1 ( Type)
Value:
QT_DECLARE_ORDERING_OPERATORS_HELPER(STRONG, Type, Type, constexpr, noexcept(true), \
/* no attributes */)

Definition at line 817 of file qcomparehelpers.h.

◆ QT_DECLARE_STRONGLY_ORDERED_LITERAL_TYPE_2

#define QT_DECLARE_STRONGLY_ORDERED_LITERAL_TYPE_2 ( LeftType,
RightType )
Value:
QT_DECLARE_ORDERING_OPERATORS_HELPER(STRONG, LeftType, RightType, constexpr, \
noexcept(true), /* no attributes */) \
QT_DECLARE_ORDERING_OPERATORS_REVERSED_HELPER(STRONG, LeftType, RightType, constexpr, \
noexcept(true), /* no attributes */)

Definition at line 821 of file qcomparehelpers.h.

◆ QT_DECLARE_STRONGLY_ORDERED_LITERAL_TYPE_3

#define QT_DECLARE_STRONGLY_ORDERED_LITERAL_TYPE_3 ( LeftType,
RightType,
... )
Value:
QT_DECLARE_ORDERING_OPERATORS_HELPER(STRONG, LeftType, RightType, constexpr, noexcept(true), \
__VA_ARGS__) \
QT_DECLARE_ORDERING_OPERATORS_REVERSED_HELPER(STRONG, LeftType, RightType, constexpr, \
noexcept(true), __VA_ARGS__)

Definition at line 827 of file qcomparehelpers.h.

◆ QT_DECLARE_STRONGLY_ORDERED_LITERAL_TYPE_4

#define QT_DECLARE_STRONGLY_ORDERED_LITERAL_TYPE_4 ( ...)
Value:
#define QT_DECLARE_STRONGLY_ORDERED_LITERAL_TYPE_3(LeftType, RightType,...)

Definition at line 833 of file qcomparehelpers.h.

◆ QT_DECLARE_STRONGLY_ORDERED_LITERAL_TYPE_5

#define QT_DECLARE_STRONGLY_ORDERED_LITERAL_TYPE_5 ( ...)
Value:

Definition at line 835 of file qcomparehelpers.h.

◆ QT_DECLARE_STRONGLY_ORDERED_LITERAL_TYPE_6

#define QT_DECLARE_STRONGLY_ORDERED_LITERAL_TYPE_6 ( ...)
Value:

Definition at line 837 of file qcomparehelpers.h.

◆ QT_DECLARE_STRONGLY_ORDERED_LITERAL_TYPE_7

#define QT_DECLARE_STRONGLY_ORDERED_LITERAL_TYPE_7 ( ...)
Value:

Definition at line 839 of file qcomparehelpers.h.

◆ QT_DECLARE_STRONGLY_ORDERED_LITERAL_TYPE_8

#define QT_DECLARE_STRONGLY_ORDERED_LITERAL_TYPE_8 ( ...)
Value:

Definition at line 841 of file qcomparehelpers.h.

◆ QT_DECLARE_STRONGLY_ORDERED_LITERAL_TYPE_9

#define QT_DECLARE_STRONGLY_ORDERED_LITERAL_TYPE_9 ( ...)
Value:

Definition at line 843 of file qcomparehelpers.h.

◆ QT_DECLARE_STRONGLY_ORDERED_NON_NOEXCEPT_1

#define QT_DECLARE_STRONGLY_ORDERED_NON_NOEXCEPT_1 ( Type)
Value:
QT_DECLARE_ORDERING_OPERATORS_HELPER(STRONG, Type, Type, /* non-constexpr */, \
noexcept(false), /* no attributes */)

Definition at line 849 of file qcomparehelpers.h.

◆ QT_DECLARE_STRONGLY_ORDERED_NON_NOEXCEPT_2

#define QT_DECLARE_STRONGLY_ORDERED_NON_NOEXCEPT_2 ( LeftType,
RightType )
Value:
QT_DECLARE_ORDERING_OPERATORS_HELPER(STRONG, LeftType, RightType, /* non-constexpr */, \
noexcept(false), /* no attributes */) \
QT_DECLARE_ORDERING_OPERATORS_REVERSED_HELPER(STRONG, LeftType, RightType, \
/* non-constexpr */, noexcept(false), \
/* no attributes */)

Definition at line 853 of file qcomparehelpers.h.

◆ QT_DECLARE_STRONGLY_ORDERED_NON_NOEXCEPT_3

#define QT_DECLARE_STRONGLY_ORDERED_NON_NOEXCEPT_3 ( LeftType,
RightType,
... )
Value:
QT_DECLARE_ORDERING_OPERATORS_HELPER(STRONG, LeftType, RightType, /* non-constexpr */, \
noexcept(false), __VA_ARGS__) \
QT_DECLARE_ORDERING_OPERATORS_REVERSED_HELPER(STRONG, LeftType, RightType, \
/* non-constexpr */, noexcept(false), __VA_ARGS__)

Definition at line 860 of file qcomparehelpers.h.

◆ QT_DECLARE_STRONGLY_ORDERED_NON_NOEXCEPT_4

#define QT_DECLARE_STRONGLY_ORDERED_NON_NOEXCEPT_4 ( ...)
Value:
#define QT_DECLARE_STRONGLY_ORDERED_NON_NOEXCEPT_3(LeftType, RightType,...)

Definition at line 866 of file qcomparehelpers.h.

◆ QT_DECLARE_STRONGLY_ORDERED_NON_NOEXCEPT_5

#define QT_DECLARE_STRONGLY_ORDERED_NON_NOEXCEPT_5 ( ...)
Value:

Definition at line 868 of file qcomparehelpers.h.

◆ QT_DECLARE_STRONGLY_ORDERED_NON_NOEXCEPT_6

#define QT_DECLARE_STRONGLY_ORDERED_NON_NOEXCEPT_6 ( ...)
Value:

Definition at line 870 of file qcomparehelpers.h.

◆ QT_DECLARE_STRONGLY_ORDERED_NON_NOEXCEPT_7

#define QT_DECLARE_STRONGLY_ORDERED_NON_NOEXCEPT_7 ( ...)
Value:

Definition at line 872 of file qcomparehelpers.h.

◆ QT_DECLARE_STRONGLY_ORDERED_NON_NOEXCEPT_8

#define QT_DECLARE_STRONGLY_ORDERED_NON_NOEXCEPT_8 ( ...)
Value:

Definition at line 874 of file qcomparehelpers.h.

◆ QT_DECLARE_STRONGLY_ORDERED_NON_NOEXCEPT_9

#define QT_DECLARE_STRONGLY_ORDERED_NON_NOEXCEPT_9 ( ...)
Value:

Definition at line 876 of file qcomparehelpers.h.

◆ QT_DECLARE_WEAKLY_ORDERED_1

#define QT_DECLARE_WEAKLY_ORDERED_1 ( Type)
Value:
QT_DECLARE_ORDERING_OPERATORS_HELPER(WEAK, Type, Type, /* non-constexpr */, noexcept(true), \
/* no attributes */)

Definition at line 687 of file qcomparehelpers.h.

◆ QT_DECLARE_WEAKLY_ORDERED_2

#define QT_DECLARE_WEAKLY_ORDERED_2 ( LeftType,
RightType )
Value:
QT_DECLARE_ORDERING_OPERATORS_HELPER(WEAK, LeftType, RightType, /* non-constexpr */, \
noexcept(true), /* no attributes */) \
QT_DECLARE_ORDERING_OPERATORS_REVERSED_HELPER(WEAK, LeftType, RightType, /* non-constexpr */, \
noexcept(true), /* no attributes */)

Definition at line 691 of file qcomparehelpers.h.

◆ QT_DECLARE_WEAKLY_ORDERED_3

#define QT_DECLARE_WEAKLY_ORDERED_3 ( LeftType,
RightType,
... )
Value:
QT_DECLARE_ORDERING_OPERATORS_HELPER(WEAK, LeftType, RightType, /* non-constexpr */, \
noexcept(true), __VA_ARGS__) \
QT_DECLARE_ORDERING_OPERATORS_REVERSED_HELPER(WEAK, LeftType, RightType, /* non-constexpr */, \
noexcept(true), __VA_ARGS__)

Definition at line 697 of file qcomparehelpers.h.

◆ QT_DECLARE_WEAKLY_ORDERED_4

#define QT_DECLARE_WEAKLY_ORDERED_4 ( ...)
Value:
#define QT_DECLARE_WEAKLY_ORDERED_3(LeftType, RightType,...)

Definition at line 703 of file qcomparehelpers.h.

◆ QT_DECLARE_WEAKLY_ORDERED_5

#define QT_DECLARE_WEAKLY_ORDERED_5 ( ...)
Value:

Definition at line 705 of file qcomparehelpers.h.

◆ QT_DECLARE_WEAKLY_ORDERED_6

#define QT_DECLARE_WEAKLY_ORDERED_6 ( ...)
Value:

Definition at line 707 of file qcomparehelpers.h.

◆ QT_DECLARE_WEAKLY_ORDERED_7

#define QT_DECLARE_WEAKLY_ORDERED_7 ( ...)
Value:

Definition at line 709 of file qcomparehelpers.h.

◆ QT_DECLARE_WEAKLY_ORDERED_8

#define QT_DECLARE_WEAKLY_ORDERED_8 ( ...)
Value:

Definition at line 711 of file qcomparehelpers.h.

◆ QT_DECLARE_WEAKLY_ORDERED_9

#define QT_DECLARE_WEAKLY_ORDERED_9 ( ...)
Value:

Definition at line 713 of file qcomparehelpers.h.

◆ QT_DECLARE_WEAKLY_ORDERED_LITERAL_TYPE_1

#define QT_DECLARE_WEAKLY_ORDERED_LITERAL_TYPE_1 ( Type)
Value:
QT_DECLARE_ORDERING_OPERATORS_HELPER(WEAK, Type, Type, constexpr, noexcept(true), \
/* no attributes */)

Definition at line 719 of file qcomparehelpers.h.

◆ QT_DECLARE_WEAKLY_ORDERED_LITERAL_TYPE_2

#define QT_DECLARE_WEAKLY_ORDERED_LITERAL_TYPE_2 ( LeftType,
RightType )
Value:
QT_DECLARE_ORDERING_OPERATORS_HELPER(WEAK, LeftType, RightType, constexpr, \
noexcept(true), /* no attributes */) \
QT_DECLARE_ORDERING_OPERATORS_REVERSED_HELPER(WEAK, LeftType, RightType, constexpr, \
noexcept(true), /* no attributes */)

Definition at line 723 of file qcomparehelpers.h.

◆ QT_DECLARE_WEAKLY_ORDERED_LITERAL_TYPE_3

#define QT_DECLARE_WEAKLY_ORDERED_LITERAL_TYPE_3 ( LeftType,
RightType,
... )
Value:
QT_DECLARE_ORDERING_OPERATORS_HELPER(WEAK, LeftType, RightType, constexpr, noexcept(true), \
__VA_ARGS__) \
QT_DECLARE_ORDERING_OPERATORS_REVERSED_HELPER(WEAK, LeftType, RightType, constexpr, \
noexcept(true), __VA_ARGS__)

Definition at line 729 of file qcomparehelpers.h.

◆ QT_DECLARE_WEAKLY_ORDERED_LITERAL_TYPE_4

#define QT_DECLARE_WEAKLY_ORDERED_LITERAL_TYPE_4 ( ...)
Value:
#define QT_DECLARE_WEAKLY_ORDERED_LITERAL_TYPE_3(LeftType, RightType,...)

Definition at line 735 of file qcomparehelpers.h.

◆ QT_DECLARE_WEAKLY_ORDERED_LITERAL_TYPE_5

#define QT_DECLARE_WEAKLY_ORDERED_LITERAL_TYPE_5 ( ...)
Value:

Definition at line 737 of file qcomparehelpers.h.

◆ QT_DECLARE_WEAKLY_ORDERED_LITERAL_TYPE_6

#define QT_DECLARE_WEAKLY_ORDERED_LITERAL_TYPE_6 ( ...)
Value:

Definition at line 739 of file qcomparehelpers.h.

◆ QT_DECLARE_WEAKLY_ORDERED_LITERAL_TYPE_7

#define QT_DECLARE_WEAKLY_ORDERED_LITERAL_TYPE_7 ( ...)
Value:

Definition at line 741 of file qcomparehelpers.h.

◆ QT_DECLARE_WEAKLY_ORDERED_LITERAL_TYPE_8

#define QT_DECLARE_WEAKLY_ORDERED_LITERAL_TYPE_8 ( ...)
Value:

Definition at line 743 of file qcomparehelpers.h.

◆ QT_DECLARE_WEAKLY_ORDERED_LITERAL_TYPE_9

#define QT_DECLARE_WEAKLY_ORDERED_LITERAL_TYPE_9 ( ...)
Value:

Definition at line 745 of file qcomparehelpers.h.

◆ QT_DECLARE_WEAKLY_ORDERED_NON_NOEXCEPT_1

#define QT_DECLARE_WEAKLY_ORDERED_NON_NOEXCEPT_1 ( Type)
Value:
QT_DECLARE_ORDERING_OPERATORS_HELPER(WEAK, Type, Type, /* non-constexpr */, noexcept(false), \
/* no attributes */)

Definition at line 751 of file qcomparehelpers.h.

◆ QT_DECLARE_WEAKLY_ORDERED_NON_NOEXCEPT_2

#define QT_DECLARE_WEAKLY_ORDERED_NON_NOEXCEPT_2 ( LeftType,
RightType )
Value:
QT_DECLARE_ORDERING_OPERATORS_HELPER(WEAK, LeftType, RightType, /* non-constexpr */, \
noexcept(false), /* no attributes */) \
QT_DECLARE_ORDERING_OPERATORS_REVERSED_HELPER(WEAK, LeftType, RightType, /* non-constexpr */, \
noexcept(false), /* no attributes */)

Definition at line 755 of file qcomparehelpers.h.

◆ QT_DECLARE_WEAKLY_ORDERED_NON_NOEXCEPT_3

#define QT_DECLARE_WEAKLY_ORDERED_NON_NOEXCEPT_3 ( LeftType,
RightType,
... )
Value:
QT_DECLARE_ORDERING_OPERATORS_HELPER(WEAK, LeftType, RightType, /* non-constexpr */, \
noexcept(false), __VA_ARGS__) \
QT_DECLARE_ORDERING_OPERATORS_REVERSED_HELPER(WEAK, LeftType, RightType, /* non-constexpr */, \
noexcept(false), __VA_ARGS__)

Definition at line 761 of file qcomparehelpers.h.

◆ QT_DECLARE_WEAKLY_ORDERED_NON_NOEXCEPT_4

#define QT_DECLARE_WEAKLY_ORDERED_NON_NOEXCEPT_4 ( ...)
Value:
#define QT_DECLARE_WEAKLY_ORDERED_NON_NOEXCEPT_3(LeftType, RightType,...)

Definition at line 767 of file qcomparehelpers.h.

◆ QT_DECLARE_WEAKLY_ORDERED_NON_NOEXCEPT_5

#define QT_DECLARE_WEAKLY_ORDERED_NON_NOEXCEPT_5 ( ...)
Value:

Definition at line 769 of file qcomparehelpers.h.

◆ QT_DECLARE_WEAKLY_ORDERED_NON_NOEXCEPT_6

#define QT_DECLARE_WEAKLY_ORDERED_NON_NOEXCEPT_6 ( ...)
Value:

Definition at line 771 of file qcomparehelpers.h.

◆ QT_DECLARE_WEAKLY_ORDERED_NON_NOEXCEPT_7

#define QT_DECLARE_WEAKLY_ORDERED_NON_NOEXCEPT_7 ( ...)
Value:

Definition at line 773 of file qcomparehelpers.h.

◆ QT_DECLARE_WEAKLY_ORDERED_NON_NOEXCEPT_8

#define QT_DECLARE_WEAKLY_ORDERED_NON_NOEXCEPT_8 ( ...)
Value:

Definition at line 775 of file qcomparehelpers.h.

◆ QT_DECLARE_WEAKLY_ORDERED_NON_NOEXCEPT_9

#define QT_DECLARE_WEAKLY_ORDERED_NON_NOEXCEPT_9 ( ...)
Value:

Definition at line 777 of file qcomparehelpers.h.