Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
IsArrayOrRefOfType.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
/**
9
* Type trait which returns true if the type T is an array or a reference to an array of ArrType.
10
*/
11
template
<
typename
T,
typename
ArrType>
12
struct
TIsArrayOrRefOfType
13
{
14
enum
{
Value
=
false
};
15
};
16
17
template
<
typename
ArrType>
struct
TIsArrayOrRefOfType
< ArrType[], ArrType> {
enum
{
Value
=
true
}; };
18
template
<
typename
ArrType>
struct
TIsArrayOrRefOfType
<
const
ArrType[], ArrType> {
enum
{
Value
=
true
}; };
19
template
<
typename
ArrType>
struct
TIsArrayOrRefOfType
<
volatile
ArrType[], ArrType> {
enum
{
Value
=
true
}; };
20
template
<
typename
ArrType>
struct
TIsArrayOrRefOfType
<
const
volatile
ArrType[], ArrType> {
enum
{
Value
=
true
}; };
21
22
template
<
typename
ArrType,
unsigned
int
N>
struct
TIsArrayOrRefOfType
< ArrType[N], ArrType> {
enum
{
Value
=
true
}; };
23
template
<
typename
ArrType,
unsigned
int
N>
struct
TIsArrayOrRefOfType
<
const
ArrType[N], ArrType> {
enum
{
Value
=
true
}; };
24
template
<
typename
ArrType,
unsigned
int
N>
struct
TIsArrayOrRefOfType
<
volatile
ArrType[N], ArrType> {
enum
{
Value
=
true
}; };
25
template
<
typename
ArrType,
unsigned
int
N>
struct
TIsArrayOrRefOfType
<
const
volatile
ArrType[N], ArrType> {
enum
{
Value
=
true
}; };
26
27
template
<
typename
ArrType,
unsigned
int
N>
struct
TIsArrayOrRefOfType
< ArrType(&)[N], ArrType> {
enum
{
Value
=
true
}; };
28
template
<
typename
ArrType,
unsigned
int
N>
struct
TIsArrayOrRefOfType
<
const
ArrType(&)[N], ArrType> {
enum
{
Value
=
true
}; };
29
template
<
typename
ArrType,
unsigned
int
N>
struct
TIsArrayOrRefOfType
<
volatile
ArrType(&)[N], ArrType> {
enum
{
Value
=
true
}; };
30
template
<
typename
ArrType,
unsigned
int
N>
struct
TIsArrayOrRefOfType
<
const
volatile
ArrType(&)[N], ArrType> {
enum
{
Value
=
true
}; };
TIsArrayOrRefOfType< ArrType(&)[N], ArrType >::Value
@ Value
Definition
IsArrayOrRefOfType.h:27
TIsArrayOrRefOfType< ArrType[], ArrType >::Value
@ Value
Definition
IsArrayOrRefOfType.h:17
TIsArrayOrRefOfType< ArrType[N], ArrType >::Value
@ Value
Definition
IsArrayOrRefOfType.h:22
TIsArrayOrRefOfType< const ArrType(&)[N], ArrType >::Value
@ Value
Definition
IsArrayOrRefOfType.h:28
TIsArrayOrRefOfType< const ArrType[], ArrType >::Value
@ Value
Definition
IsArrayOrRefOfType.h:18
TIsArrayOrRefOfType< const ArrType[N], ArrType >::Value
@ Value
Definition
IsArrayOrRefOfType.h:23
TIsArrayOrRefOfType< const volatile ArrType(&)[N], ArrType >::Value
@ Value
Definition
IsArrayOrRefOfType.h:30
TIsArrayOrRefOfType< const volatile ArrType[], ArrType >::Value
@ Value
Definition
IsArrayOrRefOfType.h:20
TIsArrayOrRefOfType< const volatile ArrType[N], ArrType >::Value
@ Value
Definition
IsArrayOrRefOfType.h:25
TIsArrayOrRefOfType< volatile ArrType(&)[N], ArrType >::Value
@ Value
Definition
IsArrayOrRefOfType.h:29
TIsArrayOrRefOfType< volatile ArrType[], ArrType >::Value
@ Value
Definition
IsArrayOrRefOfType.h:19
TIsArrayOrRefOfType< volatile ArrType[N], ArrType >::Value
@ Value
Definition
IsArrayOrRefOfType.h:24
TIsArrayOrRefOfType
Definition
IsArrayOrRefOfType.h:13
TIsArrayOrRefOfType::Value
@ Value
Definition
IsArrayOrRefOfType.h:14
Downloads
ArkServerAPI_NEW
ASA
AsaApi
AsaApi
Core
Public
API
UE
Templates
IsArrayOrRefOfType.h
Generated by
1.10.0