TWeakPtr::operator=

Assignment operator adds a weak reference to the object referenced by the specified weak pointer

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Templates/SharedPointer.h"

Syntax

TWeakPtr & operator=
(
    TWeakPtr const & InWeakPtr
)

Remarks

Assignment operator adds a weak reference to the object referenced by the specified weak pointer

Parameters

Parameter

Description

InWeakPtr

The weak pointer for the object to assign

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