PhobosWatch: manifest => enum

Sean Kelly sean at f4.ca
Fri Dec 28 05:15:15 PST 2007


Walter Bright wrote:
> 
> I found the "use an alias when declaring one constant" and "use an enum 
> when declaring more than one constant" to be difficult to justify. It's 
> like saying arrays with only one element should not be allowed.

The weird thing for me is that this will allow individual enums of any 
type but grouped enums of only numeric types.


Sean



More information about the Digitalmars-d mailing list