// Copyright (C) 2020 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only #ifndef QMAKEARRAY_P_H #define QMAKEARRAY_P_H // // W A R N I N G // ------------- // // This file is not part of the Qt API. It exists purely as an // implementation detail. This header file may change from version to // version without notice, or even be removed. // // We mean it. // #include "QtCore/private/qglobal_p.h" #include #include #include QT_BEGIN_NAMESPACE namespace QtPrivate { template constexpr T &&Forward(typename std::remove_reference::type &t) noexcept { return static_cast(t); } template constexpr T &&Forward(typename std::remove_reference::type &&t) noexcept { static_assert(!std::is_lvalue_reference::value, "template argument substituting T is an lvalue reference type"); return static_cast(t); } template struct ArrayTypeHelper { using type = ManualType; }; template struct ArrayTypeHelper : std::common_type { }; template using ArrayType = std::array::type, sizeof...(Types)>; template struct QuickSortData { }; template