TIndirectArray::Reserve

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

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.

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