c++/9230: Friend definitions in template classes
Wolfgang Bangerth
bangerth@ticam.utexas.edu
Mon Jan 13 05:17:00 GMT 2003
> As I read paragraph 14.6.5.1 in the standard, this is the expected behavior:
>
> > Friend classes or functions can be declared within a class template. When
> > a template is instantiated, the names of its friends are treated as if
> > the specialization had been explicitly declared at its point of instantiation.
That leaves no wishes for clarity unheard.
> Convinced, Wolfgang?
Yes :-) I just did not know where to look exactly. Do you want to close
it or should I do that?
W.
-------------------------------------------------------------------------
Wolfgang Bangerth email: bangerth@ticam.utexas.edu
www: http://www.ticam.utexas.edu/~bangerth/
More information about the Gcc-bugs
mailing list