Navigation
Unreal Engine C++ API Reference > Runtime > Core > GenericPlatform
Inheritance Hierarchy
- TFunctionRefBase
- TFunctionRef
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformProcess.h |
Include | #include "GenericPlatform/GenericPlatformProcess.h" |
Syntax
template<typename FuncType>
class TFunctionRef : public UE::Core::Private::Function::TFunctionRefBase< UE::Core::Private::Function::FFunctionRefStoragePolicy, FuncType >
Remarks
TFunctionRef
See the class definition for intended usage.
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
TFunctionRef
(
FunctorType&&InFunc UE_LIFETIMEBOUND |
Constructor which binds a TFunctionRef to a callable object. | |
![]() |
TFunctionRef
(
FIntrusiveUnsetOptionalState |
||
![]() |
TFunctionRef
(
const TFunctionRef& |
End - intrusive TOptional |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() |
Operators
Type | Name | Description | |
---|---|---|---|
![]() |
void | operator=
(
FIntrusiveUnsetOptionalState |
|
![]() ![]() |
TFunctionRef & | operator=
(
const TFunctionRef& |
We delete the assignment operators because we don't want it to be confused with being related to regular C++ reference assignment - i.e. calling the assignment operator of whatever the reference is bound to - because that's not what TFunctionRef does, nor is it even capable of doing that. |
![]() ![]() |
bool | operator==
(
FIntrusiveUnsetOptionalState |
Typedefs
Name | Description |
---|---|
IntrusiveUnsetOptionalStateType | |
Super |
Constants
Name | Description |
---|---|
bHasIntrusiveUnsetOptionalState | Start - intrusive TOptional |