This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]