[Bug c++/35727] Nested class of specialized template class bug

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Dec 29 04:07:00 GMT 2008



------- Comment #3 from pinskia at gcc dot gnu dot org  2008-12-29 04:06 -------
You just want:
struct A<void>::B
{
        B() 
        {
                cout << __PRETTY_FUNCTION__ << endl;
        }
};

Since you already specialized A<void>, you don't need to specialize 
A<void>::B.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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



More information about the Gcc-bugs mailing list