Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
rule 7.0.5: clarification regarding scope / expressions vs full expressions
#2
As written, the rule should apply and says your example is non-compliant.

However, we agree that there are cases where the rule is too strict and we will consider relaxing it for some comparison operations.
Posted by and on behalf of
the MISRA C++ Working Group
Reply


Messages In This Thread
RE: rule 7.0.5: clarification regarding scope / expressions vs full expressions - by misra cpp - 10-01-2025, 02:11 PM

Forum Jump:


Users browsing this thread: 5 Guest(s)