E2387 Partial specializations may not specialize dependent non-type parameters ('parameter') (C++)
Go Up to Compiler Errors And Warnings (C++) Index
A partial specialization may not use a template parameter in its specialization argument list which is dependent on another type parameter. For example:
template<class T, int U> class foo; template<class T, T U> class foo<T *, U>; // error: 'U' is type-dependent