[Bug c++/13830] Invalid covariant type for identical type, friend related

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Apr 23 21:07:00 GMT 2004

------- Additional Comments From pinskia at gcc dot gnu dot org  2004-04-23 20:13 -------
Actually it looks like the problem has to do with friend classes.
If I add "class X {};" before the first template class, it works.

           What    |Removed                     |Added
           Keywords|                            |rejects-valid
   Last reconfirmed|2004-01-23 16:26:02         |2004-04-23 20:13:18
               date|                            |
            Summary|Invalid covariant type for  |Invalid covariant type for
                   |identical type.             |identical type, friend
                   |                            |related


More information about the Gcc-bugs mailing list