17-03-2015, 05:34 PM
The example you cited is showing usage of anonymous enums, which are treated as "essentially signed" type and, thus, can be mixed with int.
However, your example "enum list" is a named enum, causing it to be "essentially enum" type, which severely reduces its allowable operations. If your example were instead
I believe it would be compliant.
However, your example "enum list" is a named enum, causing it to be "essentially enum" type, which severely reduces its allowable operations. If your example were instead
Code:
enum {
ONE,
TWO,
THREE
};
<t></t>