I have a template queue class and I need to define it in another class which isn't templated how do I go about doing that? Do I need to make all classes using the Queue template classes?
a little example:
this is what I would like to do and School would be declared in mainCode:template <class T> class Queue{ . . . }; class School{ public: . . private Queue<T> firstGraders; };