PhobosWatch: manifest => enum
0ffh
frank at youknow.what.todo.interNETz
Sun Dec 30 09:30:57 PST 2007
Frits van Bommel wrote:
> 0ffh wrote:
>> because to me the rule "case guards can only be of integral type"
>> seems to make the most sense. I'd be rather disappointed if case
>> one didn't work...
>
> Actually, D also allows string switch. However, I'm pretty sure you
> can't mix int "switch" with string "case"s :P.
Hmmm, that's rather... cool. :)
You live and learn.
regards, frank
More information about the Digitalmars-d
mailing list