https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88092
Andrew Pinski changed:
What|Removed |Added
Target Milestone|--- |10.0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88092
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
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:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88092
Marek Polacek changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned
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.
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
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
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;
}
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
>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88092
emmanuel.le-tr...@cnrs-orleans.fr changed:
What|Removed |Added
CC|
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;
}
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88092
Marek Polacek changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
12 matches
Mail list logo