------- Comment #3 from varg at theor dot jinr dot ru 2006-07-05 05:44 ------- The error message given by g++-3.4:
test.cc: In member function `void foo<T1>::operator()(T1&, T3&)': test.cc:14: error: non-constant `foo<T1>::N_BC' cannot be used as template argument test.cc:14: error: template argument 3 is invalid test.cc:14: error: invalid type in declaration before '(' token is somewhat confusing, since N_BC is declared as static const: template<typename T1> struct foo { static const unsigned N_BC = size_traits<T1>::Size; Could anyone explain what is exactly invalid in the test case? Best regards, Alexei. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28225 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]