enum scope

Trass3r un at known.com
Thu Jan 26 03:51:10 PST 2012


> You can use anonymous enums. The members will then live in the 
> global scope. You can then use just one alias to an int, uint 
> or what's appropriate.

Yeah but you loose type safety.


More information about the Digitalmars-d mailing list