| 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 | |
| 6 | namespace WTF { |
| 7 | |
| 8 | template <typename A, typename B> |
| 9 | struct IsSameType { |
| 10 | static const bool value = false; |
| 11 | }; |
| 12 | |
| 13 | template <typename A> |
| 14 | struct IsSameType<A, A> { |
| 15 | static const bool value = true; |
| 16 | }; |
| 17 | |
| 18 | } |
| 19 | |
| 20 | #endif // TYPETRAITS_H |
| 21 |
