This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/37444] code rejected in template specialization
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Sep 2008 19:34:57 -0000
- Subject: [Bug c++/37444] code rejected in template specialization
- References: <bug-37444-16685@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pinskia at gcc dot gnu dot org 2008-09-09 19:34 -------
Comeau online gives the similar error message:
"ComeauTest.c", line 19: error: template parameter "T" is not used in or cannot
be
deduced from the template argument list of class template
"trait<A<T>::B>"
template<typename T> struct trait<typename A<T>::B > {
^
So I don't think this is a bug.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37444