I had code that looked like this:
enum EEventID {
eEvent1,
eEvent2,
...
eEventN };
And that got reviewed and changed to
typedef enum {
eEvent1,
eEvent2,
...
eEventN } EEventID;
What is the difference between the two? Why make the change? When I looked at this question, the only mention of typedefs got downvoted.