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++/3332: friend function declaration in a class in a namespace causes error


Synopsis: friend function declaration in a class in a namespace causes error

State-Changed-From-To: open->analyzed
State-Changed-By: nathan
State-Changed-When: Tue Oct 22 02:59:51 2002
State-Changed-Why:
    confirmed. I think this is well-formed. [7.3.1.2]/3 seems
    to be relevant. The question to answer is 'in the defintion of 
    N::A, what is the innermost enclosing namespace?'. Is it
    '::' - that being the one that is 'open', or is it '::N'
    - that being the one containing 'A'. It would be bizzare
    if the answer was '::'.

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


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