Menu

#66 "const" becomes parameter name

open
nobody
None
5
2009-01-08
2009-01-08
No

As user nebelmann reported in this thread:
https://sourceforge.net/forum/forum.php?thread_id=2760549&forum_id=614710

it may happen that the keyword "const" may be used as parameter name.

That happens when the type ends with const
and a parameter name is not present.

E.g.:
void foo(int* const);

Discussion


Log in to post a comment.

MongoDB Logo MongoDB