Community
Participate
Working Groups
from 90633, cpp spec 8.2-7a: class C { }; void f(int(C)) { } // void f(int (*fp)(C c)) { } // not: void f(int C); int g(C); void foo() { f(1); //1: error: cannot convert 1 to function pointer f(g); //2: OK } void f( int (C) ) {} is not parsing properly. the parameter should have a function declarator with no name and 1 parameter of type C. Instead we have a nested declarator with name C. With bindings, currently (1) is successful and (2) is a problem, once the ast is fixed, the reverse should be true.
Future means you commit to fix it in the Future. Inboxes can't make committments. Moving to '--'.
*** This bug has been marked as a duplicate of bug 86504 ***