RFC: safe ref counting

rikki cattermole rikki at cattermole.co.nz
Sat May 2 18:40:34 UTC 2020


On 03/05/2020 6:23 AM, Steven Schveighoffer wrote:
> How do you solve this issue in D and still make it @safe without using 
> the GC?

(head)const + DIP25/1000 would be a good place to begin.

I would love to have a headconst tied to lifetimes. Most of the work has 
already been done, it just needs exposing in a nice way. I'm not sure if 
@live is the right way to do this though.


More information about the Digitalmars-d mailing list