1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3#ifndef TYPETRAITS_H
4#define TYPETRAITS_H
5
6namespace WTF {
7
8template <typename A, typename B>
9struct IsSameType {
10 static const bool value = false;
11};
12
13template <typename A>
14struct IsSameType<A, A> {
15 static const bool value = true;
16};
17
18}
19
20#endif // TYPETRAITS_H
21

Provided by KDAB

Privacy Policy
Learn Advanced QML with KDAB
Find out more

source code of qtdeclarative/src/3rdparty/masm/stubs/wtf/TypeTraits.h