Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
IsClass.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreTypes.h"
6
7/**
8 * Determines if T is a struct/class type
9 */
10template <typename T>
12{
13private:
14 template <typename U> static uint16 Func(int U::*);
15 template <typename U> static uint8 Func(...);
16
17public:
18 enum { Value = !__is_union(T) && sizeof(Func<T>(0)) - 1 };
19};
@ Value
Definition IsClass.h:18
static uint8 Func(...)
static uint16 Func(int U::*)