Navigation
Unreal Engine C++ API Reference > Runtime > Core > Templates > TSharedRef > TSharedRef
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Templates/SharedPointer.h |
Include | #include "Templates/SharedPointer.h" |
template<typename OtherType, typename DeleterType, std::enable_if_t<(std::is_convertible_v< OtherType *, ObjectType * >), int >>
TSharedRef
(
SharedPointerInternals::TRawPtrProxyWithDeleter < OtherType, DeleterType > && InRawPtrProxy
)
Remarks
Constructs a shared reference using a proxy reference to a raw pointer. (See MakeShareable()) Must not be nullptr.
Parameters
Name | Description |
---|---|
InRawPtrProxy | Proxy raw pointer that contains the object that the new shared reference will reference |