Destructor semantics

bearophile bearophileHUGS at lycos.com
Tue Aug 10 17:28:32 PDT 2010


Jonathan M Davis:
> If attempts to use any reference types in destructors were a compile-time error 
> with a clear error message, that could go a long way in stopping people from 
> trying to misuse destructors.

This sounds like a positive idea, maybe fit for an enhancement request.

Bye,
bearophile


More information about the Digitalmars-d mailing list