I am trying to use a member type of a template class, which does not depend on any template parameters of the template class.
As a nested type within class A<T>
, MemberType
does depend on the template parameter T
.
i.e. A<T>::MemberType<T2>
and A<U>::MemberType<T2>
are distinct classes.