Hi, I've run into a Visual C++ 6.0 compiler problem, that I'm not able to workaround anymore.
Using STL, an example of the problem is having a vector of lists:
That's too much for the compiler. My easy workaround was to do a typedef std::list<int> IntList, and then compile:
However, I'm now making my code more general using templates. So the int in the example has turned into SomeType:
and now my typedef trick doesn't work anymore...
How do I solve this problem? Or who knows a workaround that honors the generalization purpose (obviously I don't want to make implementations for each of the SomeType types)?