------- Additional Comments From reichelt at gcc dot gnu dot org 2004-11-05 10:29 ------- For those in doubt, here's chapter and verse: [14.6]/6 says
Within the definition of a class template [...] the keyword typename is not required when referring to the unqualified name of a previously declared member of the class template that declares a type. The keyword typename shall always be specified when the member is referred to using a qualified name [...]. Since t::v is a qualified name I agree with Giovanni and GCC. Btw, icc seems to get it wrong. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18304