[Bug c++/54104] Parser error for lambda expression if function template has default parameter.

likan_999.student at sina dot com gcc-bugzilla@gcc.gnu.org
Fri Jul 27 09:07:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54104

--- Comment #2 from likan_999.student at sina dot com 2012-07-27 09:06:48 UTC ---
BTW: the compiler error is 

c.cpp: In function 'void f(const U&)':
c.cpp:3:15: error: no default argument for 'U'



More information about the Gcc-bugs mailing list