Navigation
Unreal Engine C++ API Reference > Runtime > Core > Templates > TSharedPtr > operator=
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Templates/SharedPointer.h |
Include | #include "Templates/SharedPointer.h" |
TSharedPtr & operator&61;
&40;
TSharedPtr const & InSharedPtr
&41;
Remarks
Assignment operator replaces this shared pointer with the specified shared pointer. The object currently referenced by this shared pointer will no longer be referenced and will be deleted if there are no other referencers.
Parameters
Name | Description |
---|---|
InSharedPtr | Shared pointer to replace with |