1 matches bool, 2 matches long

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Sun Apr 28 17:40:06 PDT 2013


On 4/28/13 7:47 PM, Mehrdad wrote:
> In other words, we need to either:
>
> 1. Make int->bool truncate, or

Not going to happen.

> 2. Stop allowing implicit bool->int conversions (explicit conversions
> like in if/while/etc. are of course not included here)

Unlikely to ever happen.

> And implicit int->bool as well, forgot to mention that.

That may have a chance.


Andrie


More information about the Digitalmars-d mailing list