TArray::InsertZeroed_GetRef

Syntax

ElementType & InsertZeroed_GetRef
(
    int32 Index
)

Remarks

Inserts a zeroed element into the array at given location.

Caution, InsertZeroed_GetRef() will create an element without calling the constructor and this is not appropriate for element types that require a constructor to function properly.

Returns

A reference to the newly-inserted element.

Parameters

Parameter

Description

Index

Tells where to insert the new element.

See Also

References

Module

Core

Header

Runtime/Core/Public/Containers/Array.h