I have some std::vector and I have to resize it with some default value. Here is the code:

```
static int Counter = 0;
class Data
{
   /* ... */
   Data() { 
      Counter++; 
      std::cout << Counter << std::endl;
   }
};

std::vector<Data> mArray;

for (int i=0; i <= 200; ++i)
{
   mArray.push_back(Data());
}

// And resizing somewhere:
std::cout << "Resizing!\n";
mArray.resize(400, Data());

```

As I understand, after inserting 200 items, I can resize it with `resize` function which takes new size and default value for each new element.

When I run that program I see:

```
0
1
2
...
199
200
Resizing
201

```

Why does only 1 item is inserted after resizing?