Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
M5-0-15 + range-based for loops
#2
When the MISRA 2008 rule was written range-based for loops had not been defined, so were not considered by the rule. It was adopted by Autosar unmodified.

The view of the committee is that use of range-based for loops with objects of array type should be compliant with this rule.
Posted by and on behalf of
the MISRA C++ Working Group
Reply


Messages In This Thread
M5-0-15 + range-based for loops - by cgpzs - 15-02-2022, 12:25 PM
RE: M5-0-15 + range-based for loops - by misra cpp - 23-02-2022, 10:36 AM
RE: M5-0-15 + range-based for loops - by cgpzs - 23-02-2022, 11:59 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)