1 matches bool, 2 matches long

eles eles at eles.com
Sat Apr 27 14:59:49 PDT 2013


On Saturday, 27 April 2013 at 21:52:30 UTC, Walter Bright wrote:
> On 4/27/2013 2:29 PM, Rob T wrote:
> Because writing cast(bool)0 and cast(bool)1 is unappealing.

why need to write that? just drop the bool type entirely and go 
ahead with an integer that you interpret as a boolean.

welcome back to C (k&r).


More information about the Digitalmars-d mailing list