[Bug c++/27433] diagnostic for vector template argument is poor
bangerth at dealii dot org
gcc-bugzilla@gcc.gnu.org
Fri May 26 15:22:00 GMT 2006
------- 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
More information about the Gcc-bugs
mailing list