For the code below:
#include #include using namespace std; class Foo2; class Foo3; template class Foo1 { pub
I think the problem is the "?" in LinkedList
If this is the case, then you should use LinkedList.
LinkedList
Why can't you use std::list? Maybe we can help you with that, it will be far better that using your own implementation.