It's not always working, i.e.:
```cpp
struct A
{
    int x;
};
...
vector< A > v;
v.resize(100);
```