The code in the attached file is correct (Comeau 4.3.0.1 agrees with me), but g++ reports an error: doxybug.cpp:13: error: too few template-parameter-lists
-- Summary: Incorrect diagnostic for specialization of a nested class template Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: cpp at tempest-sw dot com CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22114