using enums for flags

Trass3r un at known.com
Wed Jan 25 15:49:58 PST 2012


> In the codebase I have to work with, having the same enum specified in
> different places is rather common. Yeah, I hate it. This means I might
> have a filter defined using one enum, and the value to filter being a
> different type with the same values.

Why don't you fix it then?


More information about the Digitalmars-d mailing list