title: Template Class Inheritence
body: <p>I have a template class called Stack which I'm trying to inherit from.
  I do this:</p>
  
  <pre><code>template &lt;class T&gt; class Queue : public Stack
  { };
  </code></pre>
  
  <p>but the compiler says:  </p>
  
  <blockquote>
    <p>error: expected class-name before '{' token</p>
  </blockquote>
  
  <p>What's wrong?</p>