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

Walter Bright newshound2 at digitalmars.com
Tue Nov 26 09:51:39 PST 2013


On 11/26/2013 1:22 AM, bearophile wrote:
> If you add a global
> variable, and the compiler gives you several name shadowing errors elsewhere,
> you choose a different name for the global variable, you don't break the code.

That's going to work out not so great for anyone developing a 3rd party library.



More information about the Digitalmars-d mailing list