TArray::TArray

Copy constructor. Use the common routine to perform the copy.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Containers/Array.h

Include

#include "Containers/Array.h"

Syntax

TArray
(
    const TArray & Other,
    SizeType ExtraSlack
)

Remarks

Copy constructor. Use the common routine to perform the copy.

Parameters

Parameter

Description

Other

The source array to copy.

ExtraSlack

Tells how much extra memory should be preallocated at the end of the array in the number of elements.