The code: template<typename T> struct foo { void check(); }; void foo<bool>::check() {}
compiles without error even though it needs a "template<>" before the specialization. -- Summary: accepts specialization without "template<>" Product: gcc Version: 3.4.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: igodard at pacbell dot net CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21727