This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Template mangling bug in egcs-2.90.16
- To: oliva at dcc dot unicamp dot br (Alexandre Oliva), egcs at cygnus dot com
- Subject: Re: Template mangling bug in egcs-2.90.16
- From: Jason Merrill <jason at cygnus dot com>
- Date: 17 Nov 1997 18:11:15 -0800
- References: <Pine.LNX.3.96.971117163642.10130A-100000@rp168.urz.tu-dresden.de><or67prihnu.fsf.cygnus.egcs@grupiara.dcc.unicamp.br>
>>>>> Alexandre Oliva <oliva@dcc.unicamp.br> writes:
>> Obviously the compiler sees two different functions f1(1)
> But it shouldn't. A f1(int) is only visible inside the scope of
> A<int>, because it is not declared in the global namespace.
Agreed. g++ doesn't implement Koenig lookup. This isn't really a bug,
it's an unimplemented feature.
Jason