TFunctionRef

TFunctionRef See the class definition for intended usage.

Inheritance Hierarchy

TFunctionRefBase

TFunctionRef

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformProcess.h

Include

#include "GenericPlatform/GenericPlatformProcess.h"

Syntax

Remarks

TFunctionRef<FuncType>

See the class definition for intended usage.

Constructors

Name Description

Public function

TFunctionRef

(
    FunctorType&&InFunc UE_LIFETIMEBOU...
)

Constructor which binds a TFunctionRef to a callable object.

Public function

TFunctionRef

(
    FIntrusiveUnsetOptionalState
)

Public function

TFunctionRef

(
    const TFunctionRef&
)

End - intrusive TOptional state //.

Destructors

Name Description

Public function

~TFunctionRef()

Operators

Name Description

Public function

void

 

operator=

(
    FIntrusiveUnsetOptionalState
)

Public function Const

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.

Public function Const

bool

 

operator==

(
    FIntrusiveUnsetOptionalState
)

Typedefs

Constants

Name

Description

bHasIntrusiveUnsetOptionalState

Start - intrusive TOptional state //.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Cancel