Hi all!
I'm trying to make an inner template specialization. My MSVC 7.0 compiler doesn't really like it, ends with an internal error.
I'd like to ask you if this is a legal declaration.
If not, can somebody help me with a workaround tip?
Thanks!
I'm trying to make an inner template specialization. My MSVC 7.0 compiler doesn't really like it, ends with an internal error.
I'd like to ask you if this is a legal declaration.
Code:
template <typename T> struct D;
template <typename T> struct R
{
struct A
{
T m;
};
template<> struct D<A>
{
};
D<A> v;
};
Thanks!