------- Comment #1 from pinskia at gcc dot gnu dot org 2006-04-06 16:24 ------- The code is invalid as you cannot use a template with a local class as it has local linkage. I don't know if the error message could be improved or not.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27061