Navigation
API > API/Runtime > API/Runtime/Core
Description
- Destructs a single item 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 | DestructItem |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Templates/MemoryOps.h |
| Include Path | #include "Templates/MemoryOps.h" |
template<typename ElementType>
void DestructItem
(
ElementType * Element
)
Parameters
| Name | Remarks |
|---|---|
| Elements | A pointer to the item to destruct. |