friend templates
David Rysdam
drysdam@az.com
Sat Feb 6 19:45:00 GMT 1999
Alexandre Oliva wrote:
>
> On Feb 6, 1999, David Rysdam <drysdam@az.com> wrote:
>
> > I'm no C++ expert, but even if this isn't supposed to work, there's an
> > egcs bug here.
>
> http://egcs.cygnus.com/faq.html#friend
>
> --
> 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
Yes, I found this a few hours after I posted the message. Thank you.
But egcs still has a problem. It doesn't give a correct error message
to this. It mangles the call to the friend template. For instance, in
the example program I gave, the error was something like:
"8 " is not a member function
Needless to say "8 " was not the name of the class...
More information about the Gcc-bugs
mailing list