Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
MaxSizeof.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
/** Finds the maximum sizeof the supplied types */
8
template
<
typename
...>
9
struct
TMaxSizeof;
10
11
template
<>
12
struct
TMaxSizeof<>
13
{
14
static
constexpr
uint32
Value
= 0;
15
};
16
17
template
<
typename
T,
typename
... TRest>
18
struct
TMaxSizeof<T, TRest...>
19
{
20
static
const
uint32
Value
=
sizeof
(T) > TMaxSizeof<TRest...>::Value ?
sizeof
(T) : TMaxSizeof<TRest...>::Value;
21
};
TMaxSizeof< T, TRest... >::Value
static const uint32 Value
Definition
MaxSizeof.h:20
TMaxSizeof<>::Value
static constexpr uint32 Value
Definition
MaxSizeof.h:14
Downloads
ArkServerAPI_NEW
ASA
AsaApi
AsaApi
Core
Public
API
UE
Templates
MaxSizeof.h
Generated by
1.10.0