Template mangling bug in egcs-2.90.16

Jason Merrill jason@cygnus.com
Mon Nov 17 18:11:00 GMT 1997


>>>>> 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



More information about the Gcc mailing list