DestructItem

Destructs a single item in memory.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Templates/MemoryOps.h

Include

#include "Templates/MemoryOps.h"

Syntax

template<typename ElementType>
void DestructItem
(
    ElementType * Element
)

Remarks

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.

Parameters

Parameter

Description

Elements

A pointer to the item to destruct.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss