------- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-01-24 14:27 ------- There is a defect report DR259 about this issue: http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#259
According to the DR, the original standard mentions that the instantiation: template class A<char>; is invalid because there is already a specialization template <> class A<char> { ... }; declared earlier. In the revised version of the standard, which includes the resolution of this DR, the instantiation is ignored. Recent GCC releases follow this behavior. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19569