This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/11786] operator() call on variable in other namespace not recognized
- From: "gccbugs at contacts dot eelis dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Aug 2003 07:28:01 -0000
- Subject: [Bug c++/11786] operator() call on variable in other namespace not recognized
- References: <20030804063201.11786.gccbugs@contacts.eelis.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11786
------- Additional Comments From gccbugs at contacts dot eelis dot net 2003-08-04 07:28 -------
Simplified snippet:
namespace N
{
struct A {};
struct S { void operator() (A); } s;
}
using N::s;
void f () { s(N::A()); }