TFunctionRef::operator=

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](API\Runtime\Core\GenericPlatform\TFunctionRef) does, nor is it even capable of doing that.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Templates/Function.h

Include

#include "Templates/Function.h"

Syntax

TFunctionRef & operator=
(
    const TFunctionRef &
) const

Remarks

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.

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