title: Enum C++ Get by Index
body: <p>I was wondering in C++ if I have an enum can I access the value at the second index?  For example I have</p>
  
  <pre><code>enum Test{hi, bye};
  </code></pre>
  
  <p>if I want 'hi', can I do something like Test[0], thanks.</p>