TArray::Reserve

Syntax

void Reserve
(
    int32 Number
)

Remarks

Reserves memory such that the array can contain at least Number elements.

Parameters

Parameter

Description

Number

The number of elements that the array should be able to contain after allocation.

See Also

References

Module

Core

Header

Runtime/Core/Public/Containers/Array.h