If you're using C++11, you can try this too:
#include <vector>
#include <list>
#include <iostream>
int main()
{
std::list<std::vector<int>> listVectors{{1,2,3},{4,5,6},{7,8,9}};
for ( auto& vec : listVectors )
for ( int& i : vec )
//process each int i
std::cout << i << std::endl;
}

Find content
Not Telling