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.)