TArray::operator=

Assignment operator.

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 & operator=
(
    const TArray & Other
)

Remarks

Assignment operator. First deletes all currently contained elements and then copies from other array.

Parameters

Parameter

Description

Other

The source array to assign from.