Allocating and freeing memory like this?
Tolga Cakiroglu
tcak at pcak.com
Wed Feb 26 01:22:39 PST 2014
I noticed that the `delete` function is not in that link. Anyway,
there are some discussions about the `delete` function already.
http://forum.dlang.org/thread/bmipphidczppnllpincm@forum.dlang.org#post-mailman.1327.1351300092.5162.digitalmars-d-learn:40puremagic.com
On Wednesday, 26 February 2014 at 09:19:55 UTC, Tolga Cakiroglu
wrote:
> I can't remember where I read it though, in documentation
> probably, the `free` function calls the `delete` function as
> well, and it can be used to remove object from memory.
>
> Since there is garbage collector in the background already, you
> don't have to do it in this way (and I am not doing as well),
> but you are able.
>
> While writing the message, found the documentation.
> http://dlang.org/phobos/core_memory.html#.GC.free
More information about the Digitalmars-d-learn
mailing list