This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/7818] protected members still non-reachable from an unbound friend template member function
- From: "lerdsuwa at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Nov 2003 06:58:57 -0000
- Subject: [Bug c++/7818] protected members still non-reachable from an unbound friend template member function
- References: <20020903054601.7818.david.decotigny@irisa.fr>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From lerdsuwa at gcc dot gnu dot org 2003-11-22 06:58 -------
Upon further review, I think the original testcase and the one
provided by Wolfgang should compile. (Mine forgot an extra
forward declaration of template class X.) This is more consistent
to name injection and Comeau C++ also agrees with me. This behavior
is implemented in the mainline and will appear in future GCC 3.4.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |3.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7818