zzz.cpp: In function `int main()': zzz.cpp:13: non-constant `x' cannot be used as template argument zzz.cpp:13: no matching function for call to `func()'
MS VC++ 6:
zzz.cpp zzz.cpp(13) : error C2973: 'func' : invalid template argument 't' zzz.cpp(4) : see declaration of 'func'
MS VC++ 7.1:
zzz.cpp zzz.cpp(13) : error C2975: 't' : invalid template argument for 'func', compile-time evaluatable constant expression expected zzz.cpp(4) : see declaration of 't'
BCB 5.5:
virker
g++ 3.2:
zzz.cpp: In function `int main()': zzz.cpp:13: non-constant `x' cannot be used as template argument zzz.cpp:13: no matching function for call to `func()'
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.