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);