Navigation
API > API/Runtime > API/Runtime/Core
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void RelocateConstructItems
(
void* Dest, |
Relocates a range of items to a new memory location as a new type. | Templates/MemoryOps.h | |
void RelocateConstructItems
(
void* Dest, |
Templates/MemoryOps.h |
RelocateConstructItems(void , SourceElementType , SizeType)
Description
Relocates a range of items to a new memory location as a new type. This is a so-called 'destructive move' for which there is no single operation in C++ but which can be implemented very efficiently in general.
| Name | RelocateConstructItems |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Templates/MemoryOps.h |
| Include Path | #include "Templates/MemoryOps.h" |
template<typename DestinationElementType, typename SourceElementType, typename SizeType>
void RelocateConstructItems
(
void * Dest,
SourceElementType * Source,
SizeType Count
)
Parameters
| Name | Remarks |
|---|---|
| Dest | The memory location to relocate to. |
| Source | A pointer to the first item to relocate. |
| Count | The number of elements to relocate. |
RelocateConstructItems(void , SourceElementType , SizeType)
| Name | RelocateConstructItems |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Templates/MemoryOps.h |
| Include Path | #include "Templates/MemoryOps.h" |
template<typename DestinationElementType, typename SourceElementType, typename SizeType>
void RelocateConstructItems
(
void * Dest,
SourceElementType * Source,
SizeType Count
)