TArray::operator=

Move assignment operator. Compatible element type version.

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

template<typename AliasElementType, typename std::enable_if_t< TIsContainerElementTypeCopyable< AliasElementType >::Value > *>
TArray & operator=
(
    TArray< typename TContainerElementTypeCompatibility< ElementType >::CopyFromOtherType, AllocatorType > && Other
)

Remarks

Move assignment operator. Compatible element type version.

Parameters

Parameter

Description

Other

Array to assign and move from.