Issue in vector
<pre><code>class item {
    int i;
};
vector&lt;item&gt; ls(3);   // line 1
item         i1(1);   // line 2

ls.push_back(i1);     // line 3
</code></pre>

<ul>
<li>line 1:
<ul>
<li>default ctr called once</li>
<li>copy ctr gets called 3 times </li>
</ul></li>
<li>line 3:
<ul>
<li>copy ctr gets called 4 times</li>
</ul></li>
</ul>

<p>My question is in line-3, what initial 3 copy ctr are doing?</p>
