TArray::TArray

Move constructor.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Containers/Array.h"

Syntax

template<typename OtherElementType>
TArray
(
    TArray< OtherElementType, Allocator > && Other,
    SizeType ExtraSlack
)

Remarks

Move constructor.

Parameters

Parameter

Description

Other

Array to move from.

ExtraSlack

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss