Internal compiler error when using friends inside templates inside namespace g++ 2.95.2

Kriang Lerdsuwanakij lerdsuwa@usc.edu
Sat Sep 16 20:50:00 GMT 2000


> The following generates an internal compiler error on line 3
>
>namespace NAM {
>    template <class T> class Handle {
>        template <class U> friend class Handle; // <----------- it dies
here.
>    };
>}

Thank you for the bug report.  This has been fixed in the CVS.

--Kriang




More information about the Gcc-bugs mailing list