title: GCC compile type error: expected type-specifier
body: <p>I've the following source code, compiled with MinGW. But when I try to build I've a compile type error: </p>
  
  <pre><code>main.cpp:11: error: expected type-specifier
     using Iter = MyMap::iterator;
                ^
  main.cpp:12: error: expected type-specifier
     using CIter = MyMap::const_iterator;
                 ^
  </code></pre>
  
  <p>GCC expect a specifier before <code>MyMap</code>. But which specifier does it expect?</p>
  
  <pre><code>#include &lt;ctime&gt;
  #include &lt;map&gt;
  
  template&lt; typename T &gt;
  class MyClass
  {
  private:
      class Inner {};
  
      using MyMap = std::map&lt; time_t, Inner &gt;;
      using Iter = MyMap::iterator;
      using CIter = MyMap::const_iterator;
  };
  
  int main()
  {
      return 0;
  }
  </code></pre>