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

ilya-stromberg ilya-stromberg-2009 at yandex.ru
Sun Nov 24 13:02:43 PST 2013


On Sunday, 24 November 2013 at 20:38:29 UTC, deadalnix wrote:
> I'd like to know why this feature is dangerous as well.

The root of the issue is identifier shadowing, see:
http://forum.dlang.org/post/hvxvllyafxnyvjooxhjh@forum.dlang.org


More information about the Digitalmars-d mailing list