How to free memory ater use of "new" to allocate it.

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Sun Jul 16 18:43:29 UTC 2023


Yes.

For basic types like int's, you don't need to destroy the array.

As long as you don't slice the array and store that in i, you don't need 
to call addrOf too.


More information about the Digitalmars-d-learn mailing list