TFunction

TFunction See the class definition for intended usage.

Windows
MacOS
Linux

Inheritance Hierarchy

TFunctionRefBase

TFunction

References

Module

Core

Header

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

Include

#include "GenericPlatform/GenericPlatformMisc.h"

Syntax

Remarks

TFunction<FuncType>

See the class definition for intended usage.

Constructors

Name Description

Public function

TFunction

(
    TYPE_OF_NULLPTR
)

Default constructor.

Public function

TFunction

(
    FunctorType&& InFunc
)

Constructor which binds a TFunction to any function object.

Public function

TFunction

(
    TFunction&&
)

Public function

TFunction

(
    const TFunction& Other
)

Destructors

Name Description

Public function

~TFunction()

Operators

Name Description

Public function Const

FORCEINLINE

 

operator bool()

Tests if the TFunction is callable.

Public function

TFunction &

 

operator=

(
    TFunction&& Other
)

Move assignment operator.

Public function

TFunction &

 

operator=

(
    const TFunction& Other
)

Copy assignment operator.

Typedefs

Name

Description

Super

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback