This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/27433] diagnostic for vector template argument is poor



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]