From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexandre Oliva To: Martin von Loewis Cc: egcs@cygnus.com Subject: Re: Using declarations Date: Mon, 16 Mar 1998 20:25:00 -0000 Message-id: References: <199803152122.WAA24592@mira.isdn.cs.tu-berlin.de> X-SW-Source: 1998-03/msg00548.html Martin von Loewis writes: > I'm still not certain about the exact semantics of using declarations. > The redeclaration of 'using A::f;' is certainly > correct, however, the selected set of declarations should be the one > found at the first declaration. In my interpretation, a using declaration brings the current definition of the specified name into the current namespace, therefore, the redeclaration would bring the declarations of both A::f(char) and A::f(int) into the global namespace. But you're right, this is not explicitly stated in (my non-final copy of) the Standard. Time for one more question in comp.std.c++ -- Alexandre Oliva mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org http://www.dcc.unicamp.br/~oliva Universidade Estadual de Campinas, SP, Brasil