------- 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