Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
AreTypesEqual.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5// HEADER_UNIT_SKIP - Deprecated
6
7#include <type_traits>
8
9/** Tests whether two typenames refer to the same type. */
10template<typename A,typename B>
11struct UE_DEPRECATED(5.2, "TAreTypesEqual has been deprecated, please use std::is_same instead.") TAreTypesEqual
12{
13 enum { Value = std::is_same_v<A, B> };
14};
15
16#define ARE_TYPES_EQUAL(A,B) std::is_same_v<A, B>