DMD 0.148 release
Thomas Kuehne
thomas-dloop at kuehne.cn
Sun Feb 26 10:46:10 PST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Charles schrieb am 2006-02-26:
>
> > Can't we simply treat zero as false and non-zero as true as we C
> > programmers always do?
>
> I agree, I still don't get what the 'true bool' fuss is about .
if(b==1) { ... }
instead of
if(b!=0) { ... }
can be found in quite a lot of C code ...
-----BEGIN PGP SIGNATURE-----
iD8DBQFEAfkq3w+/yD4P9tIRAjjeAKC1VyqNp5rrmzTVXSuwQXPlE/kFRwCfX+Uk
Dea9+c9tXcAGCxgklIpfUp0=
=rQqB
-----END PGP SIGNATURE-----
More information about the Digitalmars-d-announce
mailing list