TWeakPtr::operator=

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

Choose your operating system:

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