Running out of memory

FG home at fgda.pl
Thu Dec 27 07:27:24 PST 2012


On 2012-12-27 16:14, bearophile wrote:
> FG:
>
>> What do you mean as the delete replacement?
>
> Take a look here (at free()):
>
> http://dlang.org/phobos/core_memory.html

Oh, I didn't expect this to work on arrays but it does as good as delete:

GC.free(cast(void*)s);



More information about the Digitalmars-d-learn mailing list