delete expression
delete expression
Destructs object(s) previously allocated by the new expression and releases obtained memory area.
Syntax
:: (optional) delete expression | (1) | |
:: (optional) delete [] expression | (2) |
1) Destroys one non-array object created by a new-expression