Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
M5-0-20 clarification
#2
The intent of the rule was to apply to expressions that could be evaluated at compile-time.

Hence both your examples are non-compliant.

This will be addressed in the new version - due imminently.
Posted by and on behalf of
the MISRA C++ Working Group
Reply


Messages In This Thread
M5-0-20 clarification - by rt1980 - 25-01-2023, 04:37 PM
RE: M5-0-20 clarification - by misra cpp - 10-11-2023, 03:03 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)