STL Child Class Undefined Symbol
I've taken the STL list, and made a child class of it called myList. While I understand that this may not be the best implementation, due to the lack of virutual destructors, I'm playing and learning :).
template <class T>
class myList : public std::list <T>
{
public:
int highestNumber();
int highestLetter();
void output(ostream& outfile);
private:
};
For and example the implentation is like this:
template <class T>
int myList<T>::highestNumber(){
}
The files are myList.hpp and myList.cpp.. Whenever I try and use a functino from myList inside of main.cpp, I get an undefined symbol error..
I am calling in in main like this:
myList <myType>myListings;
int number = myListings.highestNumber();
All normal list functions work fine, like:
myListings.sort();
Any light that someone could shed on this would be greatful.

