aboutsummaryrefslogtreecommitdiffstats
path: root/src/3rdparty/masm/stubs/wtf/TypeTraits.h
blob: c75bb2444d31a68244cfdb24d6cdf438eee4bf2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright (C) 2016 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 TYPETRAITS_H
#define TYPETRAITS_H

namespace WTF {

template <typename A, typename B>
struct IsSameType {
    static const bool value = false;
};

template <typename A>
struct IsSameType<A, A> {
    static const bool value = true;
};

}

#endif // TYPETRAITS_H