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

(bc83d91d4e3575ba688d65e12860c05b3fb1dcbd)

#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 1120 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:77

Definition at line 431 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 463 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 495 of file qcomparehelpers.h.

◆ Q_DECLARE_ORDERED

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

Definition at line 522 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 553 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 585 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 619 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 651 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 684 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 815 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 847 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 880 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 717 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 749 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 781 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 159 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 402 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 406 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 412 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:73

Definition at line 418 of file qcomparehelpers.h.

◆ QT_DECLARE_EQUALITY_COMPARABLE_5

#define QT_DECLARE_EQUALITY_COMPARABLE_5 ( ...)
Value:

Definition at line 420 of file qcomparehelpers.h.

◆ QT_DECLARE_EQUALITY_COMPARABLE_6

#define QT_DECLARE_EQUALITY_COMPARABLE_6 ( ...)
Value:

Definition at line 422 of file qcomparehelpers.h.

◆ QT_DECLARE_EQUALITY_COMPARABLE_7

#define QT_DECLARE_EQUALITY_COMPARABLE_7 ( ...)
Value:

Definition at line 424 of file qcomparehelpers.h.

◆ QT_DECLARE_EQUALITY_COMPARABLE_8

#define QT_DECLARE_EQUALITY_COMPARABLE_8 ( ...)
Value:

Definition at line 426 of file qcomparehelpers.h.

◆ QT_DECLARE_EQUALITY_COMPARABLE_9

#define QT_DECLARE_EQUALITY_COMPARABLE_9 ( ...)
Value:

Definition at line 428 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 434 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 438 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 444 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 450 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 466 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 470 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 476 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 482 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 296 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 309 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 499 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 503 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 509 of file qcomparehelpers.h.

◆ QT_DECLARE_ORDERED_4

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

Definition at line 515 of file qcomparehelpers.h.

◆ QT_DECLARE_ORDERED_5

#define QT_DECLARE_ORDERED_5 ( ...)
Value:

Definition at line 516 of file qcomparehelpers.h.

◆ QT_DECLARE_ORDERED_6

#define QT_DECLARE_ORDERED_6 ( ...)
Value:

Definition at line 517 of file qcomparehelpers.h.

◆ QT_DECLARE_ORDERED_7

#define QT_DECLARE_ORDERED_7 ( ...)
Value:

Definition at line 518 of file qcomparehelpers.h.

◆ QT_DECLARE_ORDERED_8

#define QT_DECLARE_ORDERED_8 ( ...)
Value:

Definition at line 519 of file qcomparehelpers.h.

◆ QT_DECLARE_ORDERED_9

#define QT_DECLARE_ORDERED_9 ( ...)
Value:

Definition at line 520 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 524 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 528 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 534 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 540 of file qcomparehelpers.h.

◆ QT_DECLARE_ORDERED_LITERAL_TYPE_5

#define QT_DECLARE_ORDERED_LITERAL_TYPE_5 ( ...)
Value:

Definition at line 542 of file qcomparehelpers.h.

◆ QT_DECLARE_ORDERED_LITERAL_TYPE_6

#define QT_DECLARE_ORDERED_LITERAL_TYPE_6 ( ...)
Value:

Definition at line 544 of file qcomparehelpers.h.

◆ QT_DECLARE_ORDERED_LITERAL_TYPE_7

#define QT_DECLARE_ORDERED_LITERAL_TYPE_7 ( ...)
Value:

Definition at line 546 of file qcomparehelpers.h.

◆ QT_DECLARE_ORDERED_LITERAL_TYPE_8

#define QT_DECLARE_ORDERED_LITERAL_TYPE_8 ( ...)
Value:

Definition at line 548 of file qcomparehelpers.h.

◆ QT_DECLARE_ORDERED_LITERAL_TYPE_9

#define QT_DECLARE_ORDERED_LITERAL_TYPE_9 ( ...)
Value:

Definition at line 550 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 556 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 560 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 566 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 572 of file qcomparehelpers.h.

◆ QT_DECLARE_ORDERED_NON_NOEXCEPT_5

#define QT_DECLARE_ORDERED_NON_NOEXCEPT_5 ( ...)
Value:

Definition at line 574 of file qcomparehelpers.h.

◆ QT_DECLARE_ORDERED_NON_NOEXCEPT_6

#define QT_DECLARE_ORDERED_NON_NOEXCEPT_6 ( ...)
Value:

Definition at line 576 of file qcomparehelpers.h.

◆ QT_DECLARE_ORDERED_NON_NOEXCEPT_7

#define QT_DECLARE_ORDERED_NON_NOEXCEPT_7 ( ...)
Value:

Definition at line 578 of file qcomparehelpers.h.

◆ QT_DECLARE_ORDERED_NON_NOEXCEPT_8

#define QT_DECLARE_ORDERED_NON_NOEXCEPT_8 ( ...)
Value:

Definition at line 580 of file qcomparehelpers.h.

◆ QT_DECLARE_ORDERED_NON_NOEXCEPT_9

#define QT_DECLARE_ORDERED_NON_NOEXCEPT_9 ( ...)
Value:

Definition at line 582 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 336 of file qcomparehelpers.h.

◆ QT_DECLARE_ORDERING_HELPER_PARTIAL

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

Definition at line 340 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:488

Definition at line 348 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 318 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:307

Definition at line 344 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 352 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 390 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 589 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 593 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 600 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 606 of file qcomparehelpers.h.

◆ QT_DECLARE_PARTIALLY_ORDERED_5

#define QT_DECLARE_PARTIALLY_ORDERED_5 ( ...)
Value:

Definition at line 608 of file qcomparehelpers.h.

◆ QT_DECLARE_PARTIALLY_ORDERED_6

#define QT_DECLARE_PARTIALLY_ORDERED_6 ( ...)
Value:

Definition at line 610 of file qcomparehelpers.h.

◆ QT_DECLARE_PARTIALLY_ORDERED_7

#define QT_DECLARE_PARTIALLY_ORDERED_7 ( ...)
Value:

Definition at line 612 of file qcomparehelpers.h.

◆ QT_DECLARE_PARTIALLY_ORDERED_8

#define QT_DECLARE_PARTIALLY_ORDERED_8 ( ...)
Value:

Definition at line 614 of file qcomparehelpers.h.

◆ QT_DECLARE_PARTIALLY_ORDERED_9

#define QT_DECLARE_PARTIALLY_ORDERED_9 ( ...)
Value:

Definition at line 616 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 622 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 626 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 632 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 638 of file qcomparehelpers.h.

◆ QT_DECLARE_PARTIALLY_ORDERED_LITERAL_TYPE_5

#define QT_DECLARE_PARTIALLY_ORDERED_LITERAL_TYPE_5 ( ...)

◆ QT_DECLARE_PARTIALLY_ORDERED_LITERAL_TYPE_6

#define QT_DECLARE_PARTIALLY_ORDERED_LITERAL_TYPE_6 ( ...)

◆ QT_DECLARE_PARTIALLY_ORDERED_LITERAL_TYPE_7

#define QT_DECLARE_PARTIALLY_ORDERED_LITERAL_TYPE_7 ( ...)

◆ QT_DECLARE_PARTIALLY_ORDERED_LITERAL_TYPE_8

#define QT_DECLARE_PARTIALLY_ORDERED_LITERAL_TYPE_8 ( ...)

◆ QT_DECLARE_PARTIALLY_ORDERED_LITERAL_TYPE_9

#define QT_DECLARE_PARTIALLY_ORDERED_LITERAL_TYPE_9 ( ...)

◆ 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 654 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 658 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 665 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 671 of file qcomparehelpers.h.

◆ QT_DECLARE_PARTIALLY_ORDERED_NON_NOEXCEPT_5

#define QT_DECLARE_PARTIALLY_ORDERED_NON_NOEXCEPT_5 ( ...)

◆ QT_DECLARE_PARTIALLY_ORDERED_NON_NOEXCEPT_6

#define QT_DECLARE_PARTIALLY_ORDERED_NON_NOEXCEPT_6 ( ...)

◆ QT_DECLARE_PARTIALLY_ORDERED_NON_NOEXCEPT_7

#define QT_DECLARE_PARTIALLY_ORDERED_NON_NOEXCEPT_7 ( ...)

◆ QT_DECLARE_PARTIALLY_ORDERED_NON_NOEXCEPT_8

#define QT_DECLARE_PARTIALLY_ORDERED_NON_NOEXCEPT_8 ( ...)

◆ QT_DECLARE_PARTIALLY_ORDERED_NON_NOEXCEPT_9

#define QT_DECLARE_PARTIALLY_ORDERED_NON_NOEXCEPT_9 ( ...)

◆ 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 374 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 378 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 386 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 359 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 382 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 785 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 789 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 796 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 802 of file qcomparehelpers.h.

◆ QT_DECLARE_STRONGLY_ORDERED_5

#define QT_DECLARE_STRONGLY_ORDERED_5 ( ...)
Value:

Definition at line 804 of file qcomparehelpers.h.

◆ QT_DECLARE_STRONGLY_ORDERED_6

#define QT_DECLARE_STRONGLY_ORDERED_6 ( ...)
Value:

Definition at line 806 of file qcomparehelpers.h.

◆ QT_DECLARE_STRONGLY_ORDERED_7

#define QT_DECLARE_STRONGLY_ORDERED_7 ( ...)
Value:

Definition at line 808 of file qcomparehelpers.h.

◆ QT_DECLARE_STRONGLY_ORDERED_8

#define QT_DECLARE_STRONGLY_ORDERED_8 ( ...)
Value:

Definition at line 810 of file qcomparehelpers.h.

◆ QT_DECLARE_STRONGLY_ORDERED_9

#define QT_DECLARE_STRONGLY_ORDERED_9 ( ...)
Value:

Definition at line 812 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 818 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 822 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 828 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 834 of file qcomparehelpers.h.

◆ QT_DECLARE_STRONGLY_ORDERED_LITERAL_TYPE_5

#define QT_DECLARE_STRONGLY_ORDERED_LITERAL_TYPE_5 ( ...)
Value:

Definition at line 836 of file qcomparehelpers.h.

◆ QT_DECLARE_STRONGLY_ORDERED_LITERAL_TYPE_6

#define QT_DECLARE_STRONGLY_ORDERED_LITERAL_TYPE_6 ( ...)
Value:

Definition at line 838 of file qcomparehelpers.h.

◆ QT_DECLARE_STRONGLY_ORDERED_LITERAL_TYPE_7

#define QT_DECLARE_STRONGLY_ORDERED_LITERAL_TYPE_7 ( ...)
Value:

Definition at line 840 of file qcomparehelpers.h.

◆ QT_DECLARE_STRONGLY_ORDERED_LITERAL_TYPE_8

#define QT_DECLARE_STRONGLY_ORDERED_LITERAL_TYPE_8 ( ...)
Value:

Definition at line 842 of file qcomparehelpers.h.

◆ QT_DECLARE_STRONGLY_ORDERED_LITERAL_TYPE_9

#define QT_DECLARE_STRONGLY_ORDERED_LITERAL_TYPE_9 ( ...)
Value:

Definition at line 844 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 850 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 854 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 861 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 867 of file qcomparehelpers.h.

◆ QT_DECLARE_STRONGLY_ORDERED_NON_NOEXCEPT_5

#define QT_DECLARE_STRONGLY_ORDERED_NON_NOEXCEPT_5 ( ...)
Value:

Definition at line 869 of file qcomparehelpers.h.

◆ QT_DECLARE_STRONGLY_ORDERED_NON_NOEXCEPT_6

#define QT_DECLARE_STRONGLY_ORDERED_NON_NOEXCEPT_6 ( ...)
Value:

Definition at line 871 of file qcomparehelpers.h.

◆ QT_DECLARE_STRONGLY_ORDERED_NON_NOEXCEPT_7

#define QT_DECLARE_STRONGLY_ORDERED_NON_NOEXCEPT_7 ( ...)
Value:

Definition at line 873 of file qcomparehelpers.h.

◆ QT_DECLARE_STRONGLY_ORDERED_NON_NOEXCEPT_8

#define QT_DECLARE_STRONGLY_ORDERED_NON_NOEXCEPT_8 ( ...)
Value:

Definition at line 875 of file qcomparehelpers.h.

◆ QT_DECLARE_STRONGLY_ORDERED_NON_NOEXCEPT_9

#define QT_DECLARE_STRONGLY_ORDERED_NON_NOEXCEPT_9 ( ...)
Value:

Definition at line 877 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 688 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 692 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 698 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 704 of file qcomparehelpers.h.

◆ QT_DECLARE_WEAKLY_ORDERED_5

#define QT_DECLARE_WEAKLY_ORDERED_5 ( ...)
Value:

Definition at line 706 of file qcomparehelpers.h.

◆ QT_DECLARE_WEAKLY_ORDERED_6

#define QT_DECLARE_WEAKLY_ORDERED_6 ( ...)
Value:

Definition at line 708 of file qcomparehelpers.h.

◆ QT_DECLARE_WEAKLY_ORDERED_7

#define QT_DECLARE_WEAKLY_ORDERED_7 ( ...)
Value:

Definition at line 710 of file qcomparehelpers.h.

◆ QT_DECLARE_WEAKLY_ORDERED_8

#define QT_DECLARE_WEAKLY_ORDERED_8 ( ...)
Value:

Definition at line 712 of file qcomparehelpers.h.

◆ QT_DECLARE_WEAKLY_ORDERED_9

#define QT_DECLARE_WEAKLY_ORDERED_9 ( ...)
Value:

Definition at line 714 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 720 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 724 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 730 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 736 of file qcomparehelpers.h.

◆ QT_DECLARE_WEAKLY_ORDERED_LITERAL_TYPE_5

#define QT_DECLARE_WEAKLY_ORDERED_LITERAL_TYPE_5 ( ...)
Value:

Definition at line 738 of file qcomparehelpers.h.

◆ QT_DECLARE_WEAKLY_ORDERED_LITERAL_TYPE_6

#define QT_DECLARE_WEAKLY_ORDERED_LITERAL_TYPE_6 ( ...)
Value:

Definition at line 740 of file qcomparehelpers.h.

◆ QT_DECLARE_WEAKLY_ORDERED_LITERAL_TYPE_7

#define QT_DECLARE_WEAKLY_ORDERED_LITERAL_TYPE_7 ( ...)
Value:

Definition at line 742 of file qcomparehelpers.h.

◆ QT_DECLARE_WEAKLY_ORDERED_LITERAL_TYPE_8

#define QT_DECLARE_WEAKLY_ORDERED_LITERAL_TYPE_8 ( ...)
Value:

Definition at line 744 of file qcomparehelpers.h.

◆ QT_DECLARE_WEAKLY_ORDERED_LITERAL_TYPE_9

#define QT_DECLARE_WEAKLY_ORDERED_LITERAL_TYPE_9 ( ...)
Value:

Definition at line 746 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 752 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 756 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 762 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 768 of file qcomparehelpers.h.

◆ QT_DECLARE_WEAKLY_ORDERED_NON_NOEXCEPT_5

#define QT_DECLARE_WEAKLY_ORDERED_NON_NOEXCEPT_5 ( ...)
Value:

Definition at line 770 of file qcomparehelpers.h.

◆ QT_DECLARE_WEAKLY_ORDERED_NON_NOEXCEPT_6

#define QT_DECLARE_WEAKLY_ORDERED_NON_NOEXCEPT_6 ( ...)
Value:

Definition at line 772 of file qcomparehelpers.h.

◆ QT_DECLARE_WEAKLY_ORDERED_NON_NOEXCEPT_7

#define QT_DECLARE_WEAKLY_ORDERED_NON_NOEXCEPT_7 ( ...)
Value:

Definition at line 774 of file qcomparehelpers.h.

◆ QT_DECLARE_WEAKLY_ORDERED_NON_NOEXCEPT_8

#define QT_DECLARE_WEAKLY_ORDERED_NON_NOEXCEPT_8 ( ...)
Value:

Definition at line 776 of file qcomparehelpers.h.

◆ QT_DECLARE_WEAKLY_ORDERED_NON_NOEXCEPT_9

#define QT_DECLARE_WEAKLY_ORDERED_NON_NOEXCEPT_9 ( ...)
Value:

Definition at line 778 of file qcomparehelpers.h.