https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91418
Andrew Pinski changed:
What|Removed |Added
Keywords||rejects-valid
--- Comment #7 from Andrew
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91418
--- Comment #6 from Andrew Pinski ---
I think there is a defect in this area of the standard and most likely resolved
by the P1787R6 paper.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91418
--- Comment #5 from Harald van Dijk ---
(In reply to Darrell Wright from comment #4)
> The weird part is, other than compilers don't agree, but the lookup finds it
> if you put the template argument in
The idea there seems to be that `class A;`
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91418
--- Comment #4 from Darrell Wright ---
The weird part is, other than compilers don't agree, but the lookup finds it if
you put the template argument in
template
struct A {
auto func( ) {
class B {
B( ) = default;
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91418
--- Comment #3 from Harald van Dijk ---
I believe GCC is correct here. [class.friend]p11
(http://eel.is/c++draft/class.friend#11) specifies that `friend class A;`, with
an unqualified name, does not find the global scope class A, but makes a (nev
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91418
Harald van Dijk changed:
What|Removed |Added
CC||harald at gigawatt dot nl
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91418
--- Comment #1 from Darrell Wright ---
The template isn't part of it,
https://gcc.godbolt.org/z/KCok90