From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin von Loewis To: egcs@cygnus.com Subject: Using declarations Date: Sun, 15 Mar 1998 15:15:00 -0000 Message-id: <199803152122.WAA24592@mira.isdn.cs.tu-berlin.de> X-SW-Source: 1998-03/msg00520.html I'm still not certain about the exact semantics of using declarations. It seems to me that namespace A{ void f(); } using A::f; namespace A{ void f(int); } using A::f; void g(){ f(4); } should be illegal. The redeclaration of 'using A::f;' is certainly correct, however, the selected set of declarations should be the one found at the first declaration. If A::f(int) is visible inside ::g, please let me know why. TIA, Martin