UDocumentation
UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
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
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
};
CoreTypes.h
StaticCastSharedRef
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition
SharedPointer.h:127
EColorPickerChannels::Value
@ Value
uint32
uint32_t uint32
Definition
binka_ue_file_header.h:6
TMaxSizeof<>
Definition
MaxSizeof.h:13
TMaxSizeof
Definition
MaxSizeof.h:9
Engine
Source
Runtime
Core
Public
Templates
MaxSizeof.h
Generated by
1.9.8