TSharedPtr::Reset

Resets this shared pointer, removing a reference to the object.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Templates/SharedPointer.h"

Syntax

void Reset()

Remarks

Resets this shared pointer, removing a reference to the object. If there are no other shared references to the object then it will be destroyed.

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