PhobosWatch: manifest => enum
Janice Caron
caron800 at googlemail.com
Sun Dec 30 03:27:17 PST 2007
On 12/30/07, Bastiaan Veelo <Bastiaan at veelo.net> wrote:
> If not, that would be confusing to me, as you will
> be able to switch on some enums but not on others.
You can't switch on an anonymous enum. Anonymous enums have no type,
and therefore it is not even /possible/ to generate an expression
whose type is that of an anonymous enum!
So switch/case survives unharmed.
More information about the Digitalmars-d
mailing list