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.

Reply via email to