On Friday, 28 April 2017 at 16:03:18 UTC, bachmeier wrote:
I usually use the GC, so I have limited knowledge in this area. How common is this pattern in D code? Is it better than using reference counted structs? Is there any advantage to using the GC in this scenario?I would like to add this info to the wiki (I don't seen it there).
You can also use automem https://dlang.org/blog/2017/04/28/automem-hands-free-raii-for-d/