TArray::Empty

Empties the array. It calls the destructors on held items if needed.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Containers/Array.h

Include

#include "Containers/Array.h"

Syntax

void Empty
(
    SizeType Slack
)

Remarks

Empties the array. It calls the destructors on held items if needed.

Parameters

Parameter

Description

Slack

(Optional) The expected usage size after empty operation. Default is 0.

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