This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/30836] template T[] doesn't catch T[5]
- From: "igodard at pacbell dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Feb 2007 19:11:22 -0000
- Subject: [Bug c++/30836] template T[] doesn't catch T[5]
- References: <bug-30836-6594@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from igodard at pacbell dot net 2007-02-17 19:11 -------
p.s. I know I can catch it with:
template<>
template<Type T, size_t N>
struct foo<T[N]> {...}
but I though that plain "[]" would catch it too.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30836