Rule A7-2-4 (required, implementation, automated)
In an enumeration, either (1) none, (2) the first or (3) all enumerators shall be initialized.
This check want to detect explicit initialization of a part of enumerators in an enumeration, and relying on
compiler to initialize the others. It causes readability issues.
In AUTOSAR C++14 Rule A7-2-4
> Rule A7-2-4 (required, implementation, automated)
> In an enumeration, either (1) none, (2) the first or (3) all enumerators shall be initialized.
This check want to detect explicit initialization of a part of enumerators in an enumeration, and relying on
compiler to initialize the others. It causes readability issues.
In AUTOSAR C++14 Rule A7-2-4
This check want to detect explicit initialization of a part of enumerators in an enumeration, and relying on compiler to initialize the others. It causes readability issues.