UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FunctionFwd.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
10template <typename FuncType>
11class TFunction;
12
18template <typename FuncType>
20
26template <typename FuncType>
27class TFunctionRef;
28
32template <typename T> struct TIsTFunction { enum { Value = false }; };
33template <typename T> struct TIsTFunction<TFunction<T>> { enum { Value = true }; };
34
35template <typename T> struct TIsTFunction<const T> { enum { Value = TIsTFunction<T>::Value }; };
36template <typename T> struct TIsTFunction< volatile T> { enum { Value = TIsTFunction<T>::Value }; };
37template <typename T> struct TIsTFunction<const volatile T> { enum { Value = TIsTFunction<T>::Value }; };
38
42template <typename T> struct TIsTUniqueFunction { enum { Value = false }; };
43template <typename T> struct TIsTUniqueFunction<TUniqueFunction<T>> { enum { Value = true }; };
44
45template <typename T> struct TIsTUniqueFunction<const T> { enum { Value = TIsTUniqueFunction<T>::Value }; };
46template <typename T> struct TIsTUniqueFunction< volatile T> { enum { Value = TIsTUniqueFunction<T>::Value }; };
47template <typename T> struct TIsTUniqueFunction<const volatile T> { enum { Value = TIsTUniqueFunction<T>::Value }; };
48
52template <typename T> struct TIsTFunctionRef { enum { Value = false }; };
53template <typename T> struct TIsTFunctionRef<TFunctionRef<T>> { enum { Value = true }; };
54
55template <typename T> struct TIsTFunctionRef<const T> { enum { Value = TIsTFunctionRef<T>::Value }; };
56template <typename T> struct TIsTFunctionRef< volatile T> { enum { Value = TIsTFunctionRef<T>::Value }; };
57template <typename T> struct TIsTFunctionRef<const volatile T> { enum { Value = TIsTFunctionRef<T>::Value }; };
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition AssetRegistryState.h:50
Definition AndroidPlatformMisc.h:14
Definition FunctionFwd.h:19
Definition FunctionFwd.h:52
@ Value
Definition FunctionFwd.h:52
Definition FunctionFwd.h:32
@ Value
Definition FunctionFwd.h:32
Definition FunctionFwd.h:42
@ Value
Definition FunctionFwd.h:42