enum scope

Trass3r un at known.com
Thu Jan 26 05:23:42 PST 2012


> It's not type safe in C. But you can wrap it in a struct with 
> alias this instead.

Yep, but in D we have strong enums, so why not use them.


More information about the Digitalmars-d mailing list