title: Declaring C++ map iterator: expected primary-expression before ‘int’
body: <p>I have the following code:</p>
  
  <pre><code>using namespace std;
  
  map&lt;int, vector&lt;string&gt; &gt; map;
  map&lt;int, vector&lt;string&gt; &gt;::iterator it;
  </code></pre>
  
  <p>and I get this error on the second line of code:</p>
  
  <pre><code>expected primary-expression before ‘int’.
  </code></pre>