[Bug c++/38260] vector_size attribute vs specialization

glisse at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Oct 15 12:59:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38260

--- Comment #3 from Marc Glisse <glisse at gcc dot gnu.org> 2012-10-15 12:59:15 UTC ---
(In reply to comment #2)
> Marc, are you aware of this?

Yes, attributes don't work so well with templates. This particular case should
be fixable, but I'd rather we had a complete plan for vectors that would be as
easy to use as std::array.

> First blush it seems simple but weird.

If you can see how to fix it, please go ahead :-)



More information about the Gcc-bugs mailing list