More radical ideas about gc and reference counting
Walter Bright via Digitalmars-d
digitalmars-d at puremagic.com
Thu May 1 17:06:49 PDT 2014
On 5/1/2014 3:22 PM, H. S. Teoh via Digitalmars-d wrote:
> Exactly!!! This is why I said we should ban the use of structs with
> dtors as a field in a class. Isn't the D philosophy to be correct by
> default, and only allow potentially wrong/error-prone code if the user
> explicitly asks for it? So this kind of error-prone usage should not be
> allowed by default. Was my logic really that hard to follow?
Yes, we need to do something about it, no, I don't know what at the moment.
More information about the Digitalmars-d
mailing list