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]

Re: c++/3926: Trouble with namespaces


Synopsis: Trouble with namespaces

State-Changed-From-To: open->closed
State-Changed-By: pme
State-Changed-When: Fri Aug  3 10:34:38 2001
State-Changed-Why:
    Thank you for your bug report.
    
    Not only is this /not/ a bug in the compiler, the example
    you give is almost identical to the one given in the ISO
    C++ standard, when they explain why such code must work
    this way.
    
    This is called argument-dependant name lookup, or "Koenig
    lookup," described in [3.4.2].  The code you gave is
    almost an exact duplicate of the example in [3.4.2]/2.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3926&database=gcc


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