[Bug c++/67838] Rejects-valid-code: templated lambda variable.

2015-10-22 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67838 Paolo Carlini changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/67838] Rejects-valid-code: templated lambda variable.

2015-10-22 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67838 --- Comment #4 from paolo at gcc dot gnu.org --- Author: paolo Date: Thu Oct 22 14:55:14 2015 New Revision: 229175 URL: https://gcc.gnu.org/viewcvs?rev=229175&root=gcc&view=rev Log: 2015-10-22 Paolo Carlini PR c++/67838 * g++

[Bug c++/67838] Rejects-valid-code: templated lambda variable.

2015-10-22 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67838 --- Comment #3 from Paolo Carlini --- I'm going to add a testcase to trunk and close the bug, then.

[Bug c++/67838] Rejects-valid-code: templated lambda variable.

2015-10-04 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67838 Markus Trippelsdorf changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/67838] Rejects-valid-code: templated lambda variable.

2015-10-04 Thread bisqwit at iki dot fi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67838 --- Comment #1 from Joel Yliluoma --- Note that the use of "template" here is to declare a parametric variable. It is not for the function's parameter list. It works the same way as in this expression: template int v = 3*LMode;