1 matches bool, 2 matches long

Mehrdad wfunction at hotmail.com
Fri Apr 26 19:45:53 PDT 2013


On Saturday, 27 April 2013 at 01:43:12 UTC, deadalnix wrote:
> On Friday, 26 April 2013 at 21:14:54 UTC, Walter Bright wrote:
>> On 4/26/2013 12:37 PM, Jonathan M Davis wrote:
>>> There's nothing whatsoever about bool that
>>> makes sense as an integral type.
>>
>> This is where our perspectives sharply diverge. A bool is a 1 
>> bit integer type.
>
> Then why does it convert from int by comparing with 0 ? That 
> isn't the behavior of an integral.

+1


More information about the Digitalmars-d mailing list