Yet another slap on the hand by implicit bool to int conversions

bearophile bearophileHUGS at lycos.com
Sun Jun 19 17:56:45 PDT 2011


Mehrdad:

> How do you deal with BOOL?

D typedef was meant for this. Until there is something (probably library-based) to replace it, there are structs with alias this.

Bye,
bearophile


More information about the Digitalmars-d mailing list