From mboxrd@z Thu Jan 1 00:00:00 1970 From: pme@gcc.gnu.org To: gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, reichelt@igpm.rwth-aachen.de Subject: Re: c++/3926: Trouble with namespaces Date: Fri, 03 Aug 2001 10:34:00 -0000 Message-id: <20010803173438.3547.qmail@sourceware.cygnus.com> X-SW-Source: 2001-08/msg00055.html List-Id: 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