This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Possible bug: Template name lookup & overloaded functions.
- From: Andrew Pinski <pinskia at gmail dot com>
- To: Simon Hill <yacwroy at gmail dot com>
- Cc: gcc <gcc at gcc dot gnu dot org>
- Date: Mon, 18 Jan 2010 16:28:47 -0800
- Subject: Re: Possible bug: Template name lookup & overloaded functions.
- References: <fc3094d11001181620u45467024u798de033c9452b9d@mail.gmail.com>
On Mon, Jan 18, 2010 at 4:20 PM, Simon Hill <yacwroy@gmail.com> wrote:
> I'm pretty sure this is a bug but I'd like a confirmation (or
> refutation) before I submit a bug report.
>
First the issue here is what namespace does the foundental types in
C++ have? The standard says none which makes this code invalid but
there is an outstanding defect report against the standard that says
they have the global one. This is for agrument dependent namelookup.
Anyways there is an already filed GCC bug about this defect report
against the standard,
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29131 .
Thanks,
Andrew Pinski