Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TArray
Description
Reserves memory such that the array can contain at least Number elements.
| Name | Reserve |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/Array.h |
| Include Path | #include "Containers/Array.h" |
void Reserve
(
SizeType Number
)
Parameters
| Name | Remarks |
|---|---|
| Number | The number of elements that the array should be able to contain after allocation. |
See Also
- Shrink