Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Templates > API/Runtime/Core/Templates/TWeakPtr > API/Runtime/Core/Templates/TWeakPtr/op_assign
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Templates/SharedPointer.h |
Include | #include "Templates/SharedPointer.h" |
template<typename OtherType, typename>
TWeakPtr & operator&61;
&40;
TSharedPtr< OtherType, Mode > const & InSharedPtr
&41;
Remarks
Assignment operator sets this weak pointer from a shared pointer
Parameters
Name | Description |
---|---|
InSharedPtr | The shared pointer used to assign to this weak pointer |