UDocumentation
UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
EnableIf.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
19
template
<
bool
Predicate,
typename
Result =
void
>
20
class
TEnableIf
;
21
22
template
<
typename
Result>
23
class
TEnableIf
<
true
, Result>
24
{
25
public
:
26
using
type
= Result;
27
using
Type
= Result;
28
};
29
30
template
<
typename
Result>
31
class
TEnableIf
<
false
, Result>
32
{ };
33
34
49
template
<
bool
Predicate,
typename
Func>
50
class
TLazyEnableIf
;
51
52
template
<
typename
Func>
53
class
TLazyEnableIf
<
true
, Func>
54
{
55
public
:
56
using
type
=
typename
Func::Type;
57
using
Type
=
typename
Func::Type;
58
};
59
60
template
<
typename
Func>
61
class
TLazyEnableIf
<
false
, Func>
62
{
63
};
CoreTypes.h
true
return true
Definition
ExternalRpcRegistry.cpp:601
TEnableIf< true, Result >::type
Result type
Definition
EnableIf.h:26
TEnableIf< true, Result >::Type
Result Type
Definition
EnableIf.h:27
TEnableIf
Definition
EnableIf.h:20
TLazyEnableIf< true, Func >::Type
typename Func::Type Type
Definition
EnableIf.h:57
TLazyEnableIf< true, Func >::type
typename Func::Type type
Definition
EnableIf.h:56
TLazyEnableIf
Definition
EnableIf.h:50
false
@ false
Definition
radaudio_common.h:23
Engine
Source
Runtime
Core
Public
Templates
EnableIf.h
Generated by
1.9.8