I'm trying to create a container class that has node-like objects. These need to be templates. I tried:
But that doesn't work. I tried some random things in hopes that I'd get the combination right, but none of them worked.Code:template <class T>
class H {
private:
template <class T> class K;
//...
};
template <class T>
class H<T>::K {
//...
};
What am I doing wrong? How do I fix this?
Thank you