[Bug c++/30836] template T[] doesn't catch T[5]

2007-08-06 Thread pcarlini at suse dot de
--- Comment #3 from pcarlini at suse dot de 2007-08-06 09:13 --- Yes, the standard is clear that array of unknown bound of T and array of N of T are different types. And we are all implementing the is_array trait with 2 specializations (Vandevoorde and Josuttis included in their book).

[Bug c++/30836] template T[] doesn't catch T[5]

2007-04-09 Thread reichelt at gcc dot gnu dot org
--- Comment #2 from reichelt at gcc dot gnu dot org 2007-04-09 18:45 --- Just a side note: You should remove the "template<>" as it is invalid and only accidentally accepted by GCC, see PR24314. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30836

[Bug c++/30836] template T[] doesn't catch T[5]

2007-02-17 Thread igodard at pacbell dot net
--- Comment #1 from igodard at pacbell dot net 2007-02-17 19:11 --- p.s. I know I can catch it with: template<> template struct foo {...} but I though that plain "[]" would catch it too. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30836