11-10-2016, 09:50 AM
The example provided does not have a loop counter - by clause b of the definition that it is "an operand to a relational operator in condition;" ptr is not the operand to the (implied) != 0, *ptr is
Posted by and on behalf of
the MISRA C++ Working Group
the MISRA C++ Working Group