If I have a class containing several typedef 'd variables, for example:
class X { typedef token TokenType; bool doStuff() { TokenType data; fillData(&data); return true; } };
Is there a way to override typedef for TokenType in a derived class?
NB This is not a suitable place to use templates (it is already a template class, and any changes can lead to recursive definitions [EDIT: infin] [ class X < class Y = class X < class Y . . .> > .... class X < class Y = class X < class Y . . .> > Etc.] .)
source share