Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TArray
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
ElementType & Add_GetRef
(
ElementType&& Item |
Adds a new item to the end of the array, possibly reallocating the whole array to fit. | Containers/Array.h | |
ElementType & Add_GetRef
(
const ElementType& Item |
Adds a new item to the end of the array, possibly reallocating the whole array to fit. | Containers/Array.h |
Add_GetRef(ElementType &&)
Description
Adds a new item to the end of the array, possibly reallocating the whole array to fit.
Move semantics version.
| Name | Add_GetRef |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/Array.h |
| Include Path | #include "Containers/Array.h" |
ElementType & Add_GetRef
(
ElementType && Item
)
A reference to the newly-inserted element.
Parameters
| Name | Remarks |
|---|---|
| Item | The item to add |
See Also
-
AddDefaulted_GetRef
-
AddUnique_GetRef
-
AddZeroed_GetRef
-
Insert_GetRef
Add_GetRef(const ElementType &)
Description
Adds a new item to the end of the array, possibly reallocating the whole array to fit.
| Name | Add_GetRef |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/Array.h |
| Include Path | #include "Containers/Array.h" |
ElementType & Add_GetRef
(
const ElementType & Item
)
A reference to the newly-inserted element.
Parameters
| Name | Remarks |
|---|---|
| Item | The item to add |
See Also
-
AddDefaulted_GetRef
-
AddUnique_GetRef
-
AddZeroed_GetRef
-
Insert_GetRef