Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TArray
Overloads
| Name |
Remarks |
Include Path |
Unreal Specifiers |
|
Initializer list assignment operator. |
Containers/Array.h |
|
|
Assignment operator. |
Containers/Array.h |
|
|
Assignment operator. |
Containers/Array.h |
|
|
|
Containers/Array.h |
|
|
Move assignment operator. |
Containers/Array.h |
|
|
Move assignment operator. Compatible element type version. |
Containers/Array.h |
|
|
Assignment operator. |
Containers/Array.h |
|
|
|
Containers/ArrayView.h |
|
operator=(std::initializer_list< InElementType >)
Description
Initializer list assignment operator. First deletes all currently contained elements and then copies from initializer list.
| |
|
| Name |
operator= |
| Type |
function |
| Header File |
/Engine/Source/Runtime/Core/Public/Containers/Array.h |
| Include Path |
#include "Containers/Array.h" |
TArray & operator=
(
std::initializer_list< InElementType > InitList
)
Parameters
| Name |
Remarks |
| InitList |
The initializer_list to copy from. |
operator=(const TArray< ElementType, OtherAllocatorType > &)
Description
Assignment operator. First deletes all currently contained elements and then copies from other array.
AllocatorType changing version.
| |
|
| Name |
operator= |
| Type |
function |
| Header File |
/Engine/Source/Runtime/Core/Public/Containers/Array.h |
| Include Path |
#include "Containers/Array.h" |
template<typename OtherAllocatorType>
TArray & operator=
(
const TArray < ElementType, OtherAllocatorType > & Other
)
Parameters
| Name |
Remarks |
| Other |
The source array to assign from. |
operator=(const TArray &)
Description
Assignment operator. First deletes all currently contained elements and then copies from other array.
| |
|
| Name |
operator= |
| Type |
function |
| Header File |
/Engine/Source/Runtime/Core/Public/Containers/Array.h |
| Include Path |
#include "Containers/Array.h" |
TArray & operator=
(
const TArray & Other
)
Parameters
| Name |
Remarks |
| Other |
The source array to assign from. |
operator=(const TArrayView< OtherElementType, OtherSizeType > &)
| |
|
| Name |
operator= |
| Type |
function |
| Header File |
/Engine/Source/Runtime/Core/Public/Containers/Array.h |
| Include Path |
#include "Containers/Array.h" |
template<typename OtherElementType, typename OtherSizeType>
TArray & operator=
(
const TArrayView < OtherElementType, OtherSizeType > & Other
)
operator=(TArray &&)
Description
Move assignment operator.
| |
|
| Name |
operator= |
| Type |
function |
| Header File |
/Engine/Source/Runtime/Core/Public/Containers/Array.h |
| Include Path |
#include "Containers/Array.h" |
TArray & operator=
(
TArray && Other
)
Parameters
| Name |
Remarks |
| Other |
Array to assign and move from. |
operator=(TArray< typename TContainerElementTypeCompatibility< ElementType >::CopyFromOtherType, AllocatorType > &&)
Description
Move assignment operator. Compatible element type version.
| |
|
| Name |
operator= |
| Type |
function |
| Header File |
/Engine/Source/Runtime/Core/Public/Containers/Array.h |
| Include Path |
#include "Containers/Array.h" |
template<typename AliasElementType, std::enable_if_t<(TIsContainerElementTypeCopyable_V< AliasElementType >), int >>
TArray & operator=
(
TArray < typename TContainerElementTypeCompatibility < ElementType >::CopyFromOtherType, AllocatorType > && Other
)
Parameters
| Name |
Remarks |
| Other |
Array to assign and move from. |
operator=(const TArray< typename TContainerElementTypeCompatibility< ElementType >::CopyFromOtherType, OtherAllocator > &)
Description
Assignment operator. First deletes all currently contained elements and then copies from other array. Compatible element type version.
| |
|
| Name |
operator= |
| Type |
function |
| Header File |
/Engine/Source/Runtime/Core/Public/Containers/Array.h |
| Include Path |
#include "Containers/Array.h" |
template<typename OtherAllocator, typename AliasElementType, std::enable_if_t<(TIsContainerElementTypeCopyable_V< AliasElementType >), int >>
TArray & operator=
(
const TArray < typename TContainerElementTypeCompatibility < ElementType >::CopyFromOtherType, OtherAllocator > & Other
)
Parameters
| Name |
Remarks |
| Other |
The source array to assign from. |
operator=(const TArrayView< OtherElementType, OtherSizeType > &)
| |
|
| Name |
operator= |
| Type |
function |
| Header File |
/Engine/Source/Runtime/Core/Public/Containers/ArrayView.h |
| Include Path |
#include "Containers/ArrayView.h" |
template<typename OtherElementType, typename OtherSizeType>
TArray < InElementType, InAllocatorType > & operator=
(
const TArrayView < OtherElementType, OtherSizeType > & Other
)