title: STL like container typedef shortcut?
body: <p>A common pattern with STL containers is this:</p>
  
  <pre><code>map&lt;Key, Value&gt; map;
  for(map&lt;Key, Value&gt;::iterator iter = map.begin(); iter != map.end(); ++iter)
  {
    ...
  }
  </code></pre>
  
  <p>So in order to avoid writing the declaration of the template parameters we can do this somewhere:</p>
  
  <pre><code>typedef map&lt;Key, Value&gt; TNiceNameForAMap;
  </code></pre>
  
  <p>But if this map is only used in a single function or for a single iteration this is an annoying overhead.</p>
  
  <p>Is there any way around this typedef?</p>