[Bug c++/21727] New: accepts specialization without "template<>"
igodard at pacbell dot net
gcc-bugzilla@gcc.gnu.org
Mon May 23 21:57:00 GMT 2005
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
More information about the Gcc-bugs
mailing list