This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Template mangling bug in egcs-2.90.16


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]