Here is the code,
Code:
vector<int> v;

for(int i = 0;i<1000;++i)
    v.push_back(i);
Is it possible to know how many reallocations happen during the loop? Thanks.