[Bug c++/7818] protected members still non-reachable from an unbound friend template member function

lerdsuwa at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Nov 22 06:58:00 GMT 2003


------- 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



More information about the Gcc-bugs mailing list