allocate array with new

Namespace rswhite4 at googlemail.com
Tue May 15 02:26:49 PDT 2012


On Tuesday, 15 May 2012 at 09:23:51 UTC, Kagamin wrote:
> Difference with what?
> new is a safe feature: it allocates in the GC heap

That's what i mean. So i have to delete it yourself with "delete 
arr;", or not?


More information about the Digitalmars-d-learn mailing list