------- Comment #1 from bangerth at dealii dot org 2006-05-26 15:26 ------- gcc parses this as
template <class T> typename A<T (&)() >::I foo (T) { return 0; } i.e. as meaning that the argument is not an integer, but a function that returns an integer. A simpler testcase is this (icc accepts it, though I'm not sure who's right): ------------------- template <int> struct A {}; A<int()> foo (int); ------------------- W. -- bangerth at dealii dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bangerth at dealii dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27403