This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/27433] diagnostic for vector template argument is poor
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 May 2006 15:21:56 -0000
- Subject: [Bug c++/27433] diagnostic for vector template argument is poor
- References: <bug-27433-6528@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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