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