[Bug c++/77912] [C++17 feature] class template deduction fails in template functions and generic lambdas

2016-10-10 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77912 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/77912] [C++17 feature] class template deduction fails in template functions and generic lambdas

2016-10-10 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77912 --- Comment #5 from Jason Merrill --- Author: jason Date: Mon Oct 10 20:48:51 2016 New Revision: 240948 URL: https://gcc.gnu.org/viewcvs?rev=240948&root=gcc&view=rev Log: C++17 class deduction issues PR c++/77890 PR c++/77912

[Bug c++/77912] [C++17 feature] class template deduction fails in template functions and generic lambdas

2016-10-10 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77912 Jason Merrill changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/77912] [C++17 feature] class template deduction fails in template functions and generic lambdas

2016-10-10 Thread jeff.mirwaisi at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77912 --- Comment #4 from Jeff Mirwaisi --- //To clarify: template void f(T t){ S(t); } //deduction fails int main() { auto F=[]{}; //bug 77890 - fails S(F); //this should construct a temporary object deduced as type S //bug 77912 - fails

[Bug c++/77912] [C++17 feature] class template deduction fails in template functions and generic lambdas

2016-10-10 Thread jeff.mirwaisi at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77912 Jeff Mirwaisi changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|DUPLICATE

[Bug c++/77912] [C++17 feature] class template deduction fails in template functions and generic lambdas

2016-10-09 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77912 Markus Trippelsdorf changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/77912] [C++17 feature] class template deduction fails in template functions and generic lambdas

2016-10-09 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77912 Andrew Pinski changed: What|Removed |Added Summary|class template deduction|[C++17 feature] class