------- Comment #2 from pinskia at gcc dot gnu dot org 2007-12-08 22:53 ------- If I add: A<int> a;
The code is rejected: t.cc:7: error: subscripted value is neither array nor pointer t.cc:7: error: template argument 2 is invalid t.cc:7: error: invalid type in declaration before ';' token -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34397