Closed
Description
When a parameter has a type like const int
, the const
can be stripped since it only applies to the use of the parameter within the body of the function.
I.e. the one definition rule only allows one of these to be defined, since they are equivalent:
int func(const int x);
int func(int x);
In the WrapVTK xml output, each unique function should be uniquely represented, and func(int x)
is the preferred representation.
Metadata
Metadata
Assignees
Labels
No labels