Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Templates/SharedPointer.h |
Include |
#include "Templates/SharedPointer.h" |
Constructs a shared pointer that owns the specified object.
that passing nullptr here will still create a tracked reference to a nullptr pointer. (Consistent with std::shared_ptr)
Parameter |
Description |
---|---|
InObject |
Object this shared pointer to retain a reference to |
InDeleter |
Deleter object used to destroy the object when it is no longer referenced. |