SharedPointerInternals::EnableSharedFromThis

Templated helper function (const) that creates a shared pointer from an object instance

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Templates/SharedPointerInternals.h

Include

#include "Templates/SharedPointerInternals.h"

Syntax

namespace SharedPointerInternals
{
    template<class SharedPtrType, class ObjectType, class OtherType, ESPMode Mode>
    void SharedPointerInternals::EnableSharedFromThis
    (
        TSharedPtr< SharedPtrType, Mode > const * InSharedPtr,
        ObjectType const * InObject,
        TSharedFromThis< OtherType, Mode > const * InShareable
    )
}

Remarks

Templated helper function (const) that creates a shared pointer from an object instance

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss