FReferenceControllerOps< ESPMode::ThreadSafe >::ConditionallyAddSharedReference

Adds a shared reference to this counter ONLY if there is already at least one reference

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Templates/SharedPointerInternals.h"

Syntax

static bool ConditionallyAddSharedReference
(
    FReferenceControllerBase * ReferenceController
)

Remarks

Adds a shared reference to this counter ONLY if there is already at least one reference

Returns

True if the shared reference was added successfully

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