Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rule 4-5-1 prohibits 'b1 |= b2;' ?
#4
Yes, b1 |= b2 is prohibited

As pointed out by dg1980, |= is a bitwise operator and the rationale of the rule prohibits the use of bitwise operators
Posted by and on behalf of
the MISRA C++ Working Group
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)