TArray::Add

Syntax

int32 Add
(
    ElementType && Item
)

Remarks

Adds a new item to the end of the array, possibly reallocating the whole array to fit.

Move semantics version.

Returns

Index to the new item

Parameters

Parameter

Description

Item

The item to add

See Also

References

Module

Core

Header

Runtime/Core/Public/Containers/Array.h