1 matches bool, 2 matches long

deadalnix deadalnix at gmail.com
Fri Apr 26 18:43:11 PDT 2013


On Friday, 26 April 2013 at 21:14:54 UTC, Walter Bright wrote:
> 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.

Then why does it convert from int by comparing with 0 ? That 
isn't the behavior of an integral.


More information about the Digitalmars-d mailing list