title: How can I iterate over an enum?
body: <p>I just noticed that you can not use standard math operators on an <code>enum</code> such as <code>++</code> or <code>+=</code>.</p>
  <p>So what is the best way to iterate through all of the values in a C++ <code>enum</code>?</p>