friend function error in template with default type parameter

Martin v. Loewis martin@mira.isdn.cs.tu-berlin.de
Sun Oct 31 23:03:00 GMT 1999


>   Default.cxx: In function `class ostream & operator <<(ostream &,
> Default<T> &)':
>   Default.cxx:14: default argument for template parameter in function
> template `operator <<(ostream &, Default<T> &)'

Thanks for your bug report. Unfortunately, I cannot reproduce it on
i486-pc-linux-gnu. Maybe you were using a different source code than
the one you've posted?

Regards,
Martin



More information about the Gcc-bugs mailing list