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]

Re: c++/8056: Friends and partial specializations


Synopsis: Friends and partial specializations

State-Changed-From-To: open->closed
State-Changed-By: lerdsuwa
State-Changed-When: Sun Nov 24 03:25:55 2002
State-Changed-Why:
    Not a bug.
    
    For the first problem, it is forbidden by 14.5.3 p9:
      Friend declaration shall not declare partial
      specializations.
    For the second problem, 14.5.3 p4 says:
      A template friend declaration specifies that all
      specializations of that template, whether they are
      implicitly instantiated (14.7.1), partially specialized
      (14.5.4) or explicitly specialized (14.7.3), are friends
      of the class containing the template friend declaration.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8056


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