[Bug c++/88092] class nontype template deduction failed when providing type to class

2021-08-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88092 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |10.0

[Bug c++/88092] class nontype template deduction failed when providing type to class

2020-01-29 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88092 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/88092] class nontype template deduction failed when providing type to class

2020-01-29 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88092 --- Comment #10 from CVS Commits --- The master branch has been updated by Marek Polacek : https://gcc.gnu.org/g:11ffae58473472766960b2f6c59108e331a9eba7 commit r10-6333-g11ffae58473472766960b2f6c59108e331a9eba7 Author: Marek Polacek Date:

[Bug c++/88092] class nontype template deduction failed when providing type to class

2020-01-29 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88092 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/88092] class nontype template deduction failed when providing type to class

2019-01-13 Thread hanicka at hanicka dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88092 --- Comment #8 from Hana Dusíková --- Please ignore two last comments, I sent them to wrong bug, it was supposed to be for #88820.

[Bug c++/88092] class nontype template deduction failed when providing type to class

2019-01-13 Thread hanicka at hanicka dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88092 --- Comment #7 from Hana Dusíková --- If you compile it with: g++-HEAD minimal.cpp -std=c++2a -DREFERENCE => correct g++-HEAD minimal.cpp -std=c++2a -DAUTO => correct g++-HEAD minimal.cpp -std=c++2a -DCNTTP minimal.cpp: In member

[Bug c++/88092] class nontype template deduction failed when providing type to class

2019-01-13 Thread hanicka at hanicka dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88092 --- Comment #6 from Hana Dusíková --- Created attachment 45421 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45421=edit argument deduction of parent type

[Bug c++/88092] class nontype template deduction failed when providing type to class

2018-12-05 Thread hanicka at hanicka dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88092 --- Comment #5 from Hana Dusíková --- So minimal example is: template struct S { constexpr S(...) { } }; template S(T) -> S; template struct foo { }; template void fn () { auto t = s; foo f1; foo f2; }

[Bug c++/88092] class nontype template deduction failed when providing type to class

2018-12-05 Thread hanicka at hanicka dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88092 --- Comment #4 from Hana Dusíková --- (In reply to Emmanuel Le Trong from comment #3) > I have a problem with this. AFAIK, nowhere in the standard is written that a > class template without argument (i.e. not a type!) can be used as the type >

[Bug c++/88092] class nontype template deduction failed when providing type to class

2018-12-05 Thread emmanuel.le-tr...@cnrs-orleans.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88092 emmanuel.le-tr...@cnrs-orleans.fr changed: What|Removed |Added CC|

[Bug c++/88092] class nontype template deduction failed when providing type to class

2018-12-02 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88092 --- Comment #2 from Marek Polacek --- Another minimal testcase: template struct S { }; template struct foo { }; template void fn () { auto t = s; foo f1; foo f2; }

[Bug c++/88092] class nontype template deduction failed when providing type to class

2018-12-02 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88092 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|