basically, my class looks similiar to this:
class DS
{
private:
//yada yada yada
set<Node<T>>
public:
//yada yada yada
}
the important thing is the set(obviously). i will have several 'parallel' sets that will be instantiated at runtime, each which can hold a node which can hold any type of object. each set will only hold nodes of the same template instance, but different sets will be holding different node template instances.
basically, i need a way to allow a non-generic class to have a generic member variable.

New Topic/Question
Reply




MultiQuote






|