1 matches bool, 2 matches long

Manipulator volcz at kth.se
Thu Apr 25 23:42:27 PDT 2013


On Friday, 26 April 2013 at 06:18:29 UTC, deadalnix wrote:
> On Friday, 26 April 2013 at 06:01:27 UTC, Walter Bright wrote:
>> The real issue is do you want to have the implicit conversions:
>>
>> 0 => false
>> 1 => true
>>
>> or would you require a cast?
>
> Yes.

+1

What about the implicit conversion for the other types? I could 
imagine that they could cause similar bugs. Why not get rid of 
the implicit conversion? How about yet another compiler flag?


More information about the Digitalmars-d mailing list