1// Copyright (C) 2023 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com, author Marc Mutz <marc.mutz@kdab.com>, Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
2// Copyright (C) 2022 The Qt Company Ltd.
3// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
4// Qt-Security score:significant reason:default
5
6#ifndefQXPTYPE_TRAITS_H
7#defineQXPTYPE_TRAITS_H
8
9#include<QtCore/qtconfigmacros.h>
10#include<QtCore/qcompilerdetection.h>
11
12#include<QtCore/q23type_traits.h>
13
14//
15// W A R N I N G
16// -------------
17//
18// This file is not part of the Qt API. Types and functions defined in this
19// file can reliably be replaced by their std counterparts, once available.
20// You may use these definitions in your own code, but be aware that we
21// will remove them once Qt depends on the C++ version that supports
22// them in namespace std. There will be NO deprecation warning, the
23// definitions will JUST go away.
24//
25// If you can't agree to these terms, don't use these definitions!
26//
27// We mean it.
28//
29
30QT_BEGIN_NAMESPACE
31
32// like std::experimental::{nonesuch,is_detected/_v}(LFTSv2)