Skip to content

delete

The delete keyword is a special operator used for manually deleting heap-allocated memory.

Syntax

delete pointer;