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