This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/18681] [4.0/4.1/4.2 Regression] template friend declaration not recognized
- From: "jason at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Jun 2006 21:13:19 -0000
- Subject: [Bug c++/18681] [4.0/4.1/4.2 Regression] template friend declaration not recognized
- References: <bug-18681-7154@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #25 from jason at gcc dot gnu dot org 2006-06-30 21:13 -------
Fixing this is simplified by DR 45:
http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#45
Under DR 45, S1 now has all the access of its enclosing class. We should be
able to just implement that DR and this problem will go away.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18681