TUniquePtr< T[], Deleter >::Release

Relinquishes control of the owned array to the caller and nulls the [TUniquePtr](API\Runtime\Core\Templates\TUniquePtr).

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Templates/UniquePtr.h"

Syntax

T * Release()

Remarks

Relinquishes control of the owned array to the caller and nulls the TUniquePtr.

Returns

The pointer to the array that was owned by the TUniquePtr, or nullptr if no array was being owned.

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