------- Comment #2 from bangerth at dealii dot org 2006-05-26 15:21 ------- > template <class A> > void f(A, vector A, int);
You meant __vector here. Certainly, the expectation is that the vector attribute will apply to the type only after instantiation. Whether that is feasible is a different matter. I agree that for the moment, the diagnostic is not helpful. I assume this is the same matter as with alignof, etc, applied to template arguments. W. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27433