Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Templates/SharedPointer.h |
Include |
#include "Templates/SharedPointer.h" |
template<typename OtherType>
TSharedPtr
(
TSharedRef< OtherType, Mode > const & OtherSharedRef,
ObjectType * InObject
)
Aliasing constructor used to create a shared pointer which shares its reference count with another shared object, but pointing to a different object, typically a subobject.
Parameter |
Description |
---|---|
OtherSharedRef |
The shared reference whose reference count should be shared. |
InObject |
The object pointer to use (instead of the incoming shared pointer's object) |