title: auto variable and its type
body: <p>I found in a post how to delete elements from a container using an iterator. While iterating: </p>
  
  <pre><code>for(auto it = translationEvents.begin(); it != translationEvents.end();)
      {
          auto next = it;
          ++next; // get the next element
          it-&gt;second(this); // process (and maybe delete) the current element
          it = next; // skip to the next element
      }
  </code></pre>
  
  <p>Why is <code>auto</code> used without the type in <code>auto next = it;</code>?</p>
  
  <p>I use VS10,not  C++11 !</p>