1 matches bool, 2 matches long

Mehrdad wfunction at hotmail.com
Sun Apr 28 15:51:39 PDT 2013


On Sunday, 28 April 2013 at 22:25:43 UTC, Timon Gehr wrote:
> On 04/28/2013 11:51 PM, Mehrdad wrote:
>> On Sunday, 28 April 2013 at 21:29:06 UTC, Timon Gehr wrote:
>>> On 04/28/2013 10:54 PM, Mehrdad wrote:
>>>> Isn't that self-contradictory?
>>
>>> He is saying bool is an integral type in D. (i.e. it can be 
>>> promoted to 'int' in order to support integer arithmetic.)
>>
>> I thought we just established that boolean logic isn't integer 
>> logic?
>
> Please make sure your statements make sense.


Huh?

Walter says bool is an integer, but he understands that boolean 
variables don't follow integer logic.

That makes no sense, it's like saying "I understand the sky is 
blue, but the sky is red."



What part of this is not making sense to you?


More information about the Digitalmars-d mailing list