DMD can implicitly convert class pointer to the bool. Is it bug or terrible feature?

bearophile bearophileHUGS at lycos.com
Tue Nov 26 00:23:14 PST 2013


Chris Cain:

> If you really want to know when something is global when you 
> use it then use g prepended before your global names. That's 
> what a lot of people do to avoid this type of issue.

That is named "relying on hand-managed name conventions for 
something that could be the job of the compiler type system".

Bye,
bearophile


More information about the Digitalmars-d mailing list