error C2036: 'Agent *const ' : unknown size in 'vector' class
<p>I'm getting an error occurring in the <code>vector</code> class, as in, the class which you access when you <code>#include &lt; vector &gt;</code></p>

<p>I it get only once, and I don't have a clue why it would be occurring:</p>

<blockquote>
  <p>error C2036: <code>'Agent *const '</code> : unknown size</p>
</blockquote>

<p>This is also occurring in vector, and the code that has the error is here:</p>

<pre><code>size_type size() const
{   // return length of sequence
    return (this-&gt;_Mylast - this-&gt;_Myfirst); // error on this line
}
</code></pre>
