On Sunday, 12 June 2016 at 15:05:53 UTC, ketmar wrote: > this is basically how refcounted structs are done. note that i > just typed the code into reply box, so it may not compile or > contain some small bugs, but i think you got the idea. Thanks for the replies guys.