PhobosWatch: manifest => enum
Sean Kelly
sean at f4.ca
Sun Dec 30 19:11:45 PST 2007
Bruce Adams wrote:
>
> As I've tried to point out before. Its not a 'convention' is a hack from
> yesteryear. If you have a C++ compiler newer than 6 years old you should
> use static const instead of enum for this.
Yup. And I do. But many long-time C++ programmers still seem to use
'enum' out of habit.
What ever happened to Don's suggestion of using 'pure' for this anyway?
Sean
More information about the Digitalmars-d
mailing list