Vector iterator
<p>I have a vector like this </p>

<pre><code>std::vector&lt;Sprite*&gt; mDrawings;
std::vector&lt;Sprite*&gt;::iterator it = mDrawings.begin();
</code></pre>

<p>This gives an error</p>

<pre><code>Error: no suitable user-defined conversion from std::_Vector_iterator&lt;std::_Vector_val&lt;Sprite *, std::allocator&lt;Sprite *&gt;&gt;&gt; to std::_Vector_iterator&lt;std::_Vector_val&lt;Sprite *, std::allocator&lt;Sprite *&gt;&gt;&gt; exists
</code></pre>

<p>But if i do the following </p>

<pre><code>typedef std::vector&lt;Sprite*&gt; list;
list mDrawings;
list::iterator it = mDrawings.begin();
</code></pre>

<p>Then it works ???.</p>

<p>UPDATE: 
Im sorry it seems like the error was generated because of errors not related to the current code. I just saw the IDE underline with red and i thought that was the reason my application would not compile.</p>
