typedef throwing error even with typename keyword
<p>The following C++ code:</p>

<pre><code>template&lt;typename State&gt;
class Node
{
public:
    typedef typename State::Move Move;
...
}
</code></pre>

<p>says:</p>

<blockquote>
  <blockquote>
    <p>missing type specifier - int assumed. Note: C++ does not support default-int</p>
  </blockquote>
</blockquote>

<p>I searched for the error message and everyone suggests adding <code>typename</code> keyword to the <code>typedef</code> line, which in my case is already there. What else am I supposed to do?</p>