How does a pointer to a vector work?
<p>If I have the following:</p>

<pre><code>vector&lt;int&gt; v(4,0);
vector&lt;int&gt;* p = &amp;v;
int element = p[0];
</code></pre>

<p>Will element be the same value as <code>v[0]</code>?  I'm getting confused here about the <code>[]</code> operator.</p>
