1 matches bool, 2 matches long

Timon Gehr timon.gehr at gmx.ch
Sun Apr 28 14:33:30 PDT 2013


On 04/28/2013 11:22 PM, Mehrdad wrote:
> On Sunday, 28 April 2013 at 21:17:39 UTC, Walter Bright wrote:
>> On 4/28/2013 1:58 PM, Mehrdad wrote:
>>> The entire confusion in this thread is because you're mixing up the two.
>>
>> I know exactly what you're talking about, and I haven't seen any
>> confusion from other posters, either.
>
>
> If I just told you why Boolean arithmetic isn't integer arithmetic, and
> you know exactly what I'm talking about, then why do you say Booleans
> are integers?
>
> 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.)


More information about the Digitalmars-d mailing list