TArray::Emplace

Syntax

template<typename... ArgsType>
int32 Emplace
(
    ArgsType &&... Args
)

Remarks

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

Returns

Index to the new item

Parameters

Parameter

Description

Args

The arguments to forward to the constructor of the new item.

References

Module

Core

Header

Runtime/Core/Public/Containers/Array.h