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++/7641: friend declaration of nested types doesn't compile


Synopsis: friend declaration of nested types doesn't compile

State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Thu Nov 21 18:17:02 2002
State-Changed-Why:
    Confirmed. I don't know what the procedure is when something
    is a regression from egcs times, but I mark this report as
    "high" anyway; people can still downgrade it again.
    
    The situation has gotten worse, by the way, since this
    code
    -------------------------------
    template<class T> struct A {
        struct B { };
    };
    
    class C {
        template<class T> friend struct A<T>::B;
    };
    ------------------------
    now not only is rejected, but also triggers the 
    no-implicit-typename warning, which is clearly in appropriate
    here...
    
    This adds to the long list of PRs about friends and 
    templates/namespaces. Presently I have
      8355, 8280, 8099, 53, 641, 765, 1016, 8591, 7641

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


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