31-08-2022, 01:03 PM
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;
}