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=
(
TSharedRef < OtherType, Mode > const & InSharedRef
)
Remarks
Assignment operator sets this weak pointer from a shared reference
Parameters
Name | Description |
---|---|
InSharedRef | The shared reference used to assign to this weak pointer |