The enum keyword defines set of constants of type
char or type int depending on the range of values of
the set. It is used as follows:
enum <[>tag<]> {name <[>= value<]>, ...};
Where
tag
is the name of the enum set.
name
is the name of an enum constant.
value
is the value to assign to the constant. If the value is
missing, then it is assumed to be the value of the previous
constant in the set + 1. The default value for the first constant
in the list is 0.
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers of your data.