https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77912
Jason Merrill changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77912
Jason Merrill changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed|
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77912
Jeff Mirwaisi changed:
What|Removed |Added
Status|RESOLVED|UNCONFIRMED
Resolution|DUPLICATE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77912
Markus Trippelsdorf changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77912
Andrew Pinski changed:
What|Removed |Added
Summary|class template deduction|[C++17 feature] class