Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
R4-5-1 Alternative tokens
#2
You are right that the rule implicitly allows 'and', 'or', 'not' and 'not_eq'.  The C++ standard makes it clear that 'and' is simply an alternative representation of '&&' etc.

This is likely to be made explicit in the next version
Posted by and on behalf of
the MISRA C++ Working Group
Reply


Messages In This Thread
R4-5-1 Alternative tokens - by ELovisari - 23-09-2021, 10:26 AM
RE: R4-5-1 Alternative tokens - by misra cpp - 08-10-2021, 11:24 AM
RE: R4-5-1 Alternative tokens - by ELovisari - 13-10-2021, 08:29 AM
RE: R4-5-1 Alternative tokens - by misra cpp - 11-01-2022, 10:47 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)