title: "expected type-specifier" error in g++
body: <p>I have a DD class </p>
  
  <pre><code>template&lt;typename T&gt;
  class DD
  : public IEnumerable&lt;T&gt;
  {
      typedef IEnumerable&lt;T&gt; Super;
      typedef std::set&lt;T*&gt; Container;
  </code></pre>
  
  <p>And a method</p>
  
  <pre><code>template&lt;typename T&gt;
  bool DD&lt;T&gt;::Enumerator::Move()
  {
      if(!mIt.get()) 
         mIt.reset(
            new Container::iterator( &lt;-----
              mContainer.GetContainer().begin()
            )
         );
         ... 
  }
  </code></pre>
  
  <p>When I compile the class, I got <code>error: expected type-specifier</code>. 
  What's wrong with the <code>Container::iterator()</code>? </p>