Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

GCC 4.4.3 compiles this into an infinite loop.

Compliant Solution (For

...

Loop)

This compliant solution prevents any out-of-bounds arithmetic on the enumeration type.

...