Deallocating a vector of vectors

If I have a vector of vectors with a custom data type (A struct in my case, std::vector< std::vector<MyCustomDataType> >) how would I deallocate this?

Thank you,
Popa
std::vector manages memory itself. If you store pointers in there, though, you will have to delete them yourself before the vector(s) go out of scope.
Topic archived. No new replies allowed.