1 matches bool, 2 matches long

deadalnix deadalnix at gmail.com
Mon Apr 29 05:36:28 PDT 2013


On Monday, 29 April 2013 at 00:45:47 UTC, Mehrdad wrote:
> On Monday, 29 April 2013 at 00:40:08 UTC, Andrei Alexandrescu 
> wrote:
>>> 2. Stop allowing implicit bool->int conversions (explicit 
>>> conversions like in if/while/etc. are of course not included 
>>> here)
>>
>> Unlikely to ever happen.
>
> What's the use case against it?

This is useful, and do not cause problem by itself. The reverse 
conversion is problematic.


More information about the Digitalmars-d mailing list