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