TArray::AddUninitialized

Syntax

int32 AddUninitialized
(
    int32 Count
)

Remarks

Adds a given number of uninitialized elements into the array.

Caution, AddUninitialized() will create elements without calling the constructor and this is not appropriate for element types that require a constructor to function properly.

Returns

Number of elements in array before addition.

Parameters

Parameter

Description

Count

Number of elements to add.

References

Module

Core

Header

Runtime/Core/Public/Containers/Array.h