31 #include <private/qmakearray_p.h>
48 return key <= that.key;
53 return key < that.key;
58 return key == that.key;
62 template<std::
size_t Key, std::
size_t Val>
69 void tst_QMakeArray::quicksort()
71 constexpr
const auto sorted_array =
qMakeArray(
86 static_assert(sorted_array.size() == 12,
"sorted_array.size() != 12");
103 #include "tst_qmakearray.moc"
The QObject class is the base class of all Qt objects.
constexpr QtPrivate::ArrayType< ManualType, Types... > qMakeArray(Types &&... t) noexcept
#define QTEST_APPLESS_MAIN(TestObject)
constexpr bool operator<(const Pair &that) const noexcept
constexpr bool operator<=(const Pair &that) const noexcept
constexpr bool operator==(const Pair &that) const noexcept
static constexpr Type data() noexcept