[Bug c++/88979] [C++20] P0634R3 not working for constructor parameter types

2019-03-13 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88979 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/88979] [C++20] P0634R3 not working for constructor parameter types

2019-03-13 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88979 --- Comment #5 from Marek Polacek --- Author: mpolacek Date: Wed Mar 13 18:38:45 2019 New Revision: 269656 URL: https://gcc.gnu.org/viewcvs?rev=269656=gcc=rev Log: PR c++/88979 - further P0634 fix for constructors. * parser.c

[Bug c++/88979] [C++20] P0634R3 not working for constructor parameter types

2019-02-04 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88979 --- Comment #4 from Marek Polacek --- And by the same token, I suspect this ought to work too: template struct A { A(T::type); };

[Bug c++/88979] [C++20] P0634R3 not working for constructor parameter types

2019-02-01 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88979 --- Comment #3 from Marek Polacek --- Oh, so basically this should compile in C++2a: template struct A { using type = T::type; A(type); }; template A::A(T::type a) {} but it doesn't. It does when I add 'typename' to the out-of-line ctor

[Bug c++/88979] [C++20] P0634R3 not working for constructor parameter types

2019-01-22 Thread 19Sebastian95 at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88979 --- Comment #2 from 19Sebastian95 at gmx dot de --- I'm sorry if I'm misinterpreting this, but the program I wrote does compile with gcc 9.0, as the "error" part is commented out, so I'll just write what to do to get the descriped error: If my

[Bug c++/88979] [C++20] P0634R3 not working for constructor parameter types

2019-01-22 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88979 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|