This is the mail archive of the gcc-prs@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++/8932: g++ 3.2 error parsing a scoped friend declaration


Synopsis: g++ 3.2 error parsing a scoped friend declaration

State-Changed-From-To: open->closed
State-Changed-By: bangerth
State-Changed-When: Fri Dec 13 12:52:01 2002
State-Changed-Why:
    Your code is ill-formed: you can't specify just one instance
    of a template as a friend, you have to specify all of them.
    The syntax for this would be
        template <typename Y> friend class ::A;
    which is accepted by all compilers since 2.95.

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


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