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++/18681] [4.0/4.1/4.2 Regression] template friend declaration not recognized



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


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