Enums in C++ have one major problem: You can't have one name in two different enums like this:
enum Browser
{
None = 0,
Chrome = 1,
Firefox = 2
}
enum OS
{
None = 0,
XP = 1,
Windows7 = 2
}
So what is the best way to handle this issue in this example?