Hello group,
Consider such a class hierachy:
template<typename Type>
class SomeConcreteUsefulClass {}
template<typename Type, typename SomeUsefulClass>
class BaseClass {}
template<typename Type>
class BaseClass<Type, SomeConcreteUsefulClass<Type> > {} // line 10
The compiler (g++) complains about syntax error before '>' on line 10.
Is it illegal to use the declared typename in the type specification of
a template class in template args list, or am I just missing something
in my code?
Thanks in advance,
melfar