[Bug c++/66645] New: templated lambda as default parameter in template constructor raise internal error
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66645 Bug ID: 66645 Summary: templated lambda as default parameter in template constructor raise internal error Product: gcc Version: 4.8.4 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: gschw...@gnu-log.net Target Milestone: --- Created attachment 35834 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35834&action=edit minimal exemple of code Hello, I'm not sure if it allowed to write the attached example in c++11 but, the templated lambda (i.e. the lambda function that use template parameter) cause a compilation failure. Best regards.
[Bug c++/66645] templated lambda as default parameter in template constructor raise internal error
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66645 --- Comment #1 from Benoit Gschwind --- Created attachment 35835 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35835&action=edit gcc outputs and version
[Bug c++/66645] templated lambda as default parameter in template constructor raise internal error
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66645 --- Comment #2 from Benoit Gschwind --- Created attachment 35836 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35836&action=edit ii file for the coresponding code
[Bug c++/66645] templated lambda as default parameter in template constructor raise internal error
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66645 --- Comment #3 from Benoit Gschwind --- Created attachment 35837 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35837&action=edit s file
[Bug c++/66645] templated lambda as default parameter in template constructor raise internal error
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66645 --- Comment #5 from Benoit Gschwind --- (In reply to Markus Trippelsdorf from comment #4) > gcc-4.8.4 is no longer supported. Please use a more recent compiler. > 4.9, 5.1 and 6.0 compile the testcase without any issues. thank you, I tryed gcc 4.9 and it's work, my apology for the noise.