title: C++ map iterator problem
body: <p>why is this code problematic(in visual studio 2010)?</p>
  
  <pre><code>#include &lt;iostream&gt;
  #include &lt;fstream&gt;
  #include &lt;string&gt;
  #include &lt;map&gt;
  
  using namespace std;
  
  int main() {
  
      map&lt;string,int&gt; map;
      map&lt;string,int&gt;::iterator iter = map.begin();
  }
  </code></pre>
  
  <p>it just tells me there is a problem in the iterator definition(argument list for class template "std::iterator" is missing), but I saw samples written that way.</p>