C++ member function called begin() question
<p>Assuming that:</p>

<pre><code>vector&lt;string&gt; mvec; 
</code></pre>

<p>has some elements on it</p>

<p>Partial code: </p>

<pre><code>for(vector&lt;string&gt;::iterator it1 = mvec.begin(); it1 != mvec.end(); ++it1) {  
for(string::iterator it2 = it1-&gt;begin(); it2 != it1-&gt;end(); ++it2)
</code></pre>

<p>since:</p>

<p>it1->begin() deference the object and then invoke the member function begin() of that object, which object is it1 pointing to?</p>

<p>String?</p>
