This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/72104] Inner templated class with stream operator fails to compile
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 26 Jul 2016 13:23:08 +0000
- Subject: [Bug c++/72104] Inner templated class with stream operator fails to compile
- Auto-submitted: auto-generated
- References: <bug-72104-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72104
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Romain Geissler from comment #0)
> Is this a gcc bug ? Or is this invalid C++ ?
GCC 6, Clang and EDG all reject it for the same reason, so it's probably
invalid, and is now rejected due to G++ getting better at identifying invalid
friend declarations.