Hey I started this a while ago and well ran into a wall because of one major problem. That problem is that how exactly do I know the type of the next generic node? By that I mean how do I convert my conversion pointers to the correct node/class type?
This is what I have so far and well...It doesn't work at all.
C++ is not designed for this. You could easily do this in a weakly typed language, but you'd almost never want to.
Why do you want to throw away C++'s strong type system? If you actually have a valid reason, use something like boost::any inside a std::vector or similar.
I understand that C++ was purposely made with a strong type system but I was just planning on creating a generic linked list as a useful tools for rare occasions and also as a challenge/neat thing to have. I guess that isn't an extremely good reason but yeah. By C++ is not designed for this you aren't implying that this is impossible right but rather it will be difficult? If so any suggestions?
My suggestion, look at the way boost::any does it - by using a helper base class and template class that derives from it via the constructor. You are trying to combine the concepts of 'wrapper around any type' and 'list of objects' - it will be easier to split them apart into separate concepts and then use them together after that. It is seldom necessary to write your own container or list class.