More radical ideas about gc and reference counting

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Wed Apr 30 16:29:21 PDT 2014


On 4/30/14, 4:17 PM, H. S. Teoh via Digitalmars-d wrote:
> How so? If we prohibit structs with dtors from being class members,
> then it could work. Of course, then you'd have to deal with the backlash
> from users who inevitably find some use case for it... but at least in
> theory it's possible.

Oh I see. I'd eliminated that ex officio because (a) it's a frequent 
case so lotsa breakage, and (b) we lack a replacement to recommend. -- 
Andrei


More information about the Digitalmars-d mailing list