Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A5-16-1 Clarification
#2
I just realized that the provided examples are not actual assignment expressions but declarations with initialization. With this in mind, the ?: are not sub-expressions but top-level expressions and thus do not violate the rule.
Reply


Messages In This Thread
A5-16-1 Clarification - by hahn - 06-05-2022, 09:12 AM
RE: A5-16-1 Clarification - by hahn - 10-05-2022, 12:29 PM
RE: A5-16-1 Clarification - by misra cpp - 13-05-2022, 01:54 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)