Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Templates/SharedPointer.h |
Include |
#include "Templates/SharedPointer.h" |
template<typename OtherType>
TSharedPtr
(
TSharedPtr< OtherType, Mode > && OtherSharedPtr,
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 |
---|---|
OtherSharedPtr |
The shared pointer whose reference count should be shared. |
InObject |
The object pointer to use (instead of the incoming shared pointer's object) |