Types soup with enum and bool

bearophile bearophileHUGS at lycos.com
Tue Oct 29 14:24:34 PDT 2013


Maxim Fomin:

> Bools being integer types is reason of your problem with enums.

The reason of that problem of mine with enums is that they 
convert implicitly to integers. And I still don't know the 
original rationale of Walter of this design mistake.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list