I just noticed that you can not use standard math operators on an enum such as ++ or +=.

So what is the best way to iterate through all of the values in a C++ enum?

27 Answers
27

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *