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