...
This rule appears in the C++ Secure Coding Standard as rule MSC21-CPP. Use inequality to terminate a loop whose counter changes by more than one.
Bibliography
<ac:structured-macro ac:name="unmigrated-wiki-markup |
...
" ac:schema-version="1" ac:macro-id="691ed638-4536-4ac3-ab40-7f563cb66705"><ac:plain-text-body><![CDATA[ | [[JLS |
...
2005 |
...
AA. |
...
Bibliography#JLS |
...
05] |
...
] |
...
15.20.1 |
...
Numerical |
...
Comparison |
...
Operators |
...
<, |
...
<=, |
...
>, |
...
and |
...
>= | ]]></ac:plain-text-body></ac:structured-macro> |
...
MSC14-J. Finish every set of statements associated with a case label with a break statement 49. Miscellaneous (MSC) MSC16-J. Address the shortcomings of the Singleton design pattern