SharedPointerInternals::EnableSharedFromThis

Templated helper function that creates a shared reference 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 SharedRefType, class ObjectType, class OtherType, ESPMode Mode>
    void SharedPointerInternals::EnableSharedFromThis
    (
        TSharedRef< SharedRefType, Mode > * InSharedRef,
        ObjectType const * InObject,
        TSharedFromThis< OtherType, Mode > const * InShareable
    )
}

Remarks

Templated helper function that creates a shared reference 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