I wrote it as IAddress<TE>::info and now it works. Unfortunetly, I'm still having an issue with this... Isn't it a bit of an overkill to qualify them as such, if you have multiple templates?
For example, I have two more classes, besides those from the first post:
1 2 3 4 5 6 7 8 9 10
template<class T, class TE>
class IContainer {
T* head;
//I think the rest of the code is not relevant
};
template <class TE>
class ListContainer : public IContainer<SNode<TE>, TE> {
//more irrelevant code
};
In this case, if I want to access the member "head" in ListContainer (inherited from IContainer), I would have to use IContainer<SNode<TE>, TE>::head, every time?
Is this the only way to do it? Or am I using a flawed design?