Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A7-1-1 and function parameters
#1
The 'A7-1-1' uses the term: 'immutable data declaration'. This is not defined in the C ++ standard, so it is unclear if this rule applies to function parameters.
Code:
int f(int x)  // Is it Non-compliant?
{
  return 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 misra cpp - 07-10-2022, 11:26 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)