------- Comment #4 from redi at gcc dot gnu dot org 2009-10-05 14:58 ------- 14.3.1 [temp.arg.type] paragraph 2 in the current C++ standard says:
A type without linkage (3.5) shall not be used as a template argument for a template type parameter. This is changing for C++0x, based on the proposal http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2657.htm -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31951