Adding a object having a string member to a vector
<pre><code>class A
{
public:
    string  name;

    float   length;

    float   weight;

    bool    isEnabled;
};
</code></pre>

<p>When I'm doing <code>push_back()</code> on the vector of this class, it works for the first time, but doesn't on the subsequent <code>push_back()</code> calls. Could it be because of the string member? If so, why?</p>
