------- Comment #5 from mark at codesourcery dot com  2006-04-18 19:41 -------
Subject: Re:  [4.0/4.1/4.2 regression] ICE with invalid class
 name in function template

reichelt at gcc dot gnu dot org wrote:
> ------- Comment #4 from reichelt at gcc dot gnu dot org  2006-04-18 10:43 
> -------
> Hi Mark,
> I was just testing the following btw.:

Thanks.

I've got a rather more involved changed (with some other good cleanups)
that I think is almost ready.  I'm concerned that your change wouldn't
be correct for friends in templates, which is usually the nasty case for
these kinds of things.

For example, I think "friend void T::f();" is valid, even if "T" is a
template type parameter.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27102

Reply via email to