This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/66645] New: templated lambda as default parameter in template constructor raise internal error
- From: "gschwind at gnu-log dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 23 Jun 2015 19:13:31 +0000
- Subject: [Bug c++/66645] New: templated lambda as default parameter in template constructor raise internal error
- Auto-submitted: auto-generated
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: gschwind@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.