1 matches bool, 2 matches long

Walter Bright newshound2 at digitalmars.com
Fri Apr 26 14:14:55 PDT 2013


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. 
Take a look at this, for example:

http://d.puremagic.com/issues/show_bug.cgi?id=9963

Mathematically, they behave like 1 bit integers and are useful that way.


More information about the Digitalmars-d mailing list