Navigation
Unreal Engine C++ API Reference > Runtime > Core > Templates > TWeakPtr > operator=
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Templates/SharedPointer.h |
Include | #include "Templates/SharedPointer.h" |
template<typename OtherType, typename>
TWeakPtr & operator=
(
TWeakPtr < OtherType, Mode > const & InWeakPtr
)
Remarks
Assignment operator adds a weak reference to the object referenced by the specified weak pointer. This assignment operator is intended to allow derived-to-base conversions.
Parameters
Name | Description |
---|---|
InWeakPtr | The weak pointer for the object to assign |