This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: namespace illogic or bug?
- To: carlo at alinoe dot com
- Subject: Re: namespace illogic or bug?
- From: "Martin v. Loewis" <martin at loewis dot home dot cs dot tu-berlin dot de>
- Date: Tue, 27 Jun 2000 21:57:43 +0200
- CC: gcc at gcc dot gnu dot org
- References: <20000627114829.A9242@a2000.nl>
> The logic of this escapes me, and I am wondering if this is really
> the behaviour that the Standard is intending. Can someone shine a light
> on this for me please?
The logic is that lookup of a qualified name proceeds completely
different from lookup of an unqualified name, in particular in the
presence of using directives. So yes, this is the behaviour intended
by the standard. However, please discuss C++ questions in one of the
public C++ fora first, eg. comp.lang.c++.moderated, or comp.std.c++.
Regards,
Martin