Link to home
Start Free TrialLog in
Avatar of syyung6
syyung6

asked on

How to inherit CList?

Can I create a class which is derived from CList?

template<class TYPE, class ARG_TYPE> class CList : public CObject{
}
Thank you very much!
ASKER CERTIFIED SOLUTION
Avatar of chensu
chensu
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of keeslim
keeslim

I am trying to do the same thing, and have already dissected the COLLECT Sample. You can create a class derived from CList using the following format: class MyClass : public CList<int,int>. In my situation, I do not want to explicitly TYPE the class, and so have not yet determined how to use this accordingly.