template expansion and operator overloading
Alexandre Oliva
oliva@dcc.unicamp.br
Thu Dec 3 15:00:00 GMT 1998
On Oct 16, 1998, Tim Rowley <tor@cs.brown.edu> wrote:
> Template expansion with operator overloading appears to confuse
> egcs and make it try to pick the wrong operator.
I don't think it really tries to pick the wrong operator, it just
fails to ignore a bogus template instantiation in overload
resolution. Or so it seems to me :-)
Thanks for your bug report, I'm installing an overly simplified
version of your testcase in the testsuite: g++.pt/overload8.C
--
Alexandre Oliva http://www.dcc.unicamp.br/~oliva aoliva@{acm.org}
oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org}
Universidade Estadual de Campinas, SP, Brasil
More information about the Gcc-bugs
mailing list