MISRA Discussion Forums
Chapter 6.6.5 Iteration statements - Printable Version

+- MISRA Discussion Forums (https://forum.misra.org.uk)
+-- Forum: MISRA C++ (https://forum.misra.org.uk/forumdisplay.php?fid=18)
+--- Forum: MISRA C++:2008 rules (https://forum.misra.org.uk/forumdisplay.php?fid=19)
+---- Forum: 6.6 Statements (C++) (https://forum.misra.org.uk/forumdisplay.php?fid=135)
+---- Thread: Chapter 6.6.5 Iteration statements (/showthread.php?tid=1434)



Chapter 6.6.5 Iteration statements - sklinger - 06-07-2018

Hello,

Regarding the rules 6-5-1, 6-5-2, 6-5-3, 6-5-4, 6-5-5, 6-5-6:
Do these rules only apply to for-loops or do they also apply to while-loops?

best regards,
Stefan


Re: Chapter 6.6.5 Iteration statements - dg1980 - 07-07-2018

SeeĀ https://forum.misra.org.uk/thread-1240-post-2659.html


Re: Chapter 6.6.5 Iteration statements - misra cpp - 17-07-2018

We agree with dg1980, this question has already been addressed by the referenced post