// 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 QCONTAINERFWD_H #define QCONTAINERFWD_H #include #include #if 0 #pragma qt_class(QtContainerFwd) #endif // std headers can unfortunately not be forward declared #include // std::size_t #include #include QT_BEGIN_NAMESPACE template class QCache; template class QHash; template class QMap; template class QMultiHash; template class QMultiMap; #ifndef QT_NO_QPAIR template using QPair = std::pair; #endif template class QQueue; template class QSet; template class QSpan; template class QStack; constexpr qsizetype QVarLengthArrayDefaultPrealloc = 256; template class QVarLengthArray; template class QList; class QString; #ifndef Q_QDOC template using QVector = QList; using QStringList = QList; class QByteArray; using QByteArrayList = QList; #else template class QVector; class QStringList; class QByteArrayList; #endif class QMetaType; class QVariant; using QVariantList = QList; using QVariantMap = QMap; using QVariantHash = QHash; using QVariantPair = std::pair; namespace QtPrivate { [[maybe_unused]] constexpr qsizetype MaxAllocSize = (std::numeric_limits::max)(); } QT_END_NAMESPACE #endif // QCONTAINERFWD_H