It tried using a vector of vectors, but for some reason it woouldn't compile. Can't remember the error, something about a missing comma I think.
Either I'm making some stupid obvious mistake, or it's not possible this way.Code:std::vector<std::vector<int>> MyVec;
On a side-related note, I used a typedef and it compiled fine:
Why is the first not valid?Code:typedef std::vector<int> vec_int; std::vector<vec_int> MyVec;