Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A7-1-1 and function parameters
#2
As written above, I'd expect it to be flagged as non-compliant since you don't modify (x) within the function, thus making it a candidate to be "const int x"
Reply


Messages In This Thread
A7-1-1 and function parameters - by mstaron - 31-08-2022, 01:03 PM
RE: A7-1-1 and function parameters - by kent.dorfman766 - 05-09-2022, 02:13 AM
RE: A7-1-1 and function parameters - by misra cpp - 07-10-2022, 11:26 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)