On Monday, 7 October 2019 at 17:28:11 UTC, Just Dave wrote:
On Monday, 7 October 2019 at 17:24:19 UTC, Ferhat Kurtulmuş
wrote:
On Monday, 7 October 2019 at 17:11:08 UTC, Just Dave wrote:
[...]
Built-in D arrays rely on garbage collector, and you don't
need an explicit delete. For nogc arrays, there are 3rd party
libs and std.container.array. take a look at
https://dlang.org/phobos/std_container_array.html
I'm not talking about memory deletion. I'm talking about push,
pop, enqueue, and dequeue behavior. I'd assume in a garbage
collected language letting the reference float off should be
picked up by the GC.
I'm sorry. Writing on my mobile phone. Maybe this is what you are
looking for
https://dlang.org/phobos/std_container_dlist.html