title: How to avoid name conflicts for two enum values with the same name in C++?
body: <p>Enums in C++ have one major problem: You can't have one name in two different enums like this:</p>
  
  <pre><code>enum Browser
  {
      None = 0,
      Chrome = 1,
      Firefox = 2
  }
  
  enum OS
  {
      None = 0,
      XP = 1,
      Windows7 = 2
  }
  </code></pre>
  
  <p>So what is the best way to handle this issue in this example?</p>