1 matches bool, 2 matches long

Walter Bright newshound2 at digitalmars.com
Sat Apr 27 14:52:31 PDT 2013


On 4/27/2013 2:29 PM, Rob T wrote:
> If bools are 1 bit ints, then why do we have 'true' and 'false' as keywords?

Because writing cast(bool)0 and cast(bool)1 is unappealing.



More information about the Digitalmars-d mailing list