Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TArray
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Appends the specified array to this array.AllocatorType changing version. | Containers/Array.h | ||
| Appends the specified array to this array. | Containers/Array.h | ||
void Append
(
RangeType&& Source |
Appends the elements from a contiguous range to this array. | Containers/Array.h | |
void Append
(
std::initializer_list< ElementType > InitList |
Adds an initializer list of elements to the end of the TArray. | Containers/Array.h | |
void Append
(
const ElementType* Ptr, |
Adds a raw array of elements to the end of the TArray. | Containers/Array.h | |
void Append
(
const typename TContainerElementTypeCompatibility< ElementType >::CopyFromOtherType* Ptr, |
Adds a raw array of elements to the end of the TArray. | Containers/Array.h |
Append(const TArray< OtherElementType, OtherAllocatorType > &)
Description
Appends the specified array to this array.
AllocatorType changing version.
| Name | Append |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/Array.h |
| Include Path | #include "Containers/Array.h" |
template<typename OtherElementType, typename OtherAllocatorType>
void Append
(
const TArray < OtherElementType, OtherAllocatorType > & Source
)
Parameters
| Name | Remarks |
|---|---|
| Source | The array to append. |
See Also
-
Add
-
Insert
Append(TArray< OtherElementType, OtherAllocator > &&)
Description
Appends the specified array to this array.
| Name | Append |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/Array.h |
| Include Path | #include "Containers/Array.h" |
template<typename OtherElementType, typename OtherAllocator>
void Append
(
TArray < OtherElementType, OtherAllocator > && Source
)
Parameters
| Name | Remarks |
|---|---|
| Source | The array to append. |
See Also
-
Add
-
Insert
Append(RangeType &&)
Description
Appends the elements from a contiguous range to this array.
| Name | Append |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/Array.h |
| Include Path | #include "Containers/Array.h" |
template<typename RangeType, std::enable_if_t<< RangeType >::Value &&!UE::Core::Private::TIsTArrayOrDerivedFromTArray_V< std::remove_reference_t< RangeType > > &&UE::Core::Private::TArrayElementsAreCompatible_V< ElementType, TElementType_T< RangeType > >), int >>
void Append
(
RangeType && Source
)
Parameters
| Name | Remarks |
|---|---|
| Source | The range of elements to append. |
See Also
-
Add
-
Insert
Append(std::initializer_list< ElementType >)
Description
Adds an initializer list of elements to the end of the TArray.
| Name | Append |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/Array.h |
| Include Path | #include "Containers/Array.h" |
void Append
(
std::initializer_list< ElementType > InitList
)
Parameters
| Name | Remarks |
|---|---|
| InitList | The initializer list of elements to add. |
See Also
-
Add
-
Insert
Append(const ElementType *, SizeType)
Description
Adds a raw array of elements to the end of the TArray.
| Name | Append |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/Array.h |
| Include Path | #include "Containers/Array.h" |
void Append
(
const ElementType * Ptr,
SizeType Count
)
Parameters
| Name | Remarks |
|---|---|
| Ptr | A pointer to an array of elements to add. |
| Count | The number of elements to insert from Ptr. |
See Also
-
Add
-
Insert
Append(const typename TContainerElementTypeCompatibility< ElementType >::CopyFromOtherType *, SizeType)
Description
Adds a raw array of elements to the end of the TArray. Compatible element type version.
| Name | Append |
| 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 >>
void Append
(
const typename TContainerElementTypeCompatibility < ElementType >::CopyFromOtherType * Ptr,
SizeType Count
)
Parameters
| Name | Remarks |
|---|---|
| Ptr | A pointer to an array of elements to add. |
| Count | The number of elements to insert from Ptr. |
See Also
-
Add
-
Insert