E2515 Cannot explicitly specialize a member of a generic template class (C++)
Go Up to Compiler Errors And Warnings (C++) Index
You are trying to make a generic template into a specialized member. For example, the following code is illegal:
template<typename >
class foo {
template<typename>
class bar {
};
};
template<typename >
template<>
class foo<T>::bar<char> {
};
The second declaration in the example is an error, because it tries to explicitly specialize bar<char> within foo<T>.