Vector in c++stl

when we create the 2d vector with
vector <vector > v;
for(int i=0;i<n;i++){
vector v1;
for(int j=0;j<m;j++){
int x;
cin>>x;
v1.push_back(x);
}
v.push_back(v1);
}

then when v1 is created and again same v1 is created then how does the compiler know in which v1 i have to insert.
6387492536 this is my whatsapp number anyone can please give me the pictorial working of this program.