title: "no 'operator++(int)' declared for postfix '++' [-fpermissive]" on enums
body: <p>I have got the enum</p>
  
  <pre><code>enum ProgramID
  {
      A = 0,
      B = 1,
      C = 2,
      MIN_PROGRAM_ID = A,
      MAX_PROGRAM_ID = C,
  
  } CurrentProgram;
  </code></pre>
  
  <p>Now, I am trying to increment <code>CurrentProgram</code> like this: <code>CurrentProgram++</code>, but the compiler complains: <code>no 'operator++(int)' declared for postfix '++' [-fpermissive]</code>. I think there IS such an operator that increments "enums", but if there is not, how do I get the successor of one of these values?</p>