------- Comment #6 from redi at gcc dot gnu dot org 2009-12-08 12:23 ------- (In reply to comment #5) > > > > template<int N> const A<N>::i; > > > > I tried so, but it seems do not work, could you please explain more > detailedly? > thx~
I missed the "int" out: template<int N> const int A<N>::i; -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42330