TIndirectArray::Reserve

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

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

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

Include

#include "Containers/IndirectArray.h"

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.