Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Templates > API/Runtime/Core/Templates/TSharedRef > API/Runtime/Core/Templates/TSharedRef/__ctor
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Templates/SharedPointer.h |
Include | #include "Templates/SharedPointer.h" |
template<typename OtherType, typename>
TSharedRef
&40;
TSharedRef< OtherType, Mode > const & InSharedRef
&41;
Remarks
Constructs a shared reference as a reference to an existing shared reference's object. This constructor is needed so that we can implicitly upcast to base classes.
Parameters
Name | Description |
---|---|
InSharedRef | The shared reference whose object we should create an additional reference to |