Navigation
API > API/Runtime > API/Runtime/Core
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void DestructItems
(
ElementType* Element, |
Destructs a range of items in memory. | Templates/MemoryOps.h | |
void DestructItems
(
ElementType* Element, |
Templates/MemoryOps.h |
DestructItems(ElementType *, SizeType)
Description
- Destructs a range of items in memory.
-
This function is optimized for values of T, and so will not dynamically dispatch destructor calls if T's destructor is virtual.
| Name | DestructItems |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Templates/MemoryOps.h |
| Include Path | #include "Templates/MemoryOps.h" |
template<typename ElementType, typename SizeType>
void DestructItems
(
ElementType * Element,
SizeType Count
)
Parameters
| Name | Remarks |
|---|---|
| Elements | A pointer to the first item to destruct. |
| Count | The number of elements to destruct. |
DestructItems(ElementType *, SizeType)
| Name | DestructItems |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Templates/MemoryOps.h |
| Include Path | #include "Templates/MemoryOps.h" |
template<typename ElementType, typename SizeType>
void DestructItems
(
ElementType * Element,
SizeType Count
)