title: How to forward declare an aliased template in c++
body: <p>I have the following aliased template:</p>
  
  <pre><code>#include &lt;vector&gt;
  
  template &lt;typename T&gt;
  using MyVector = std::vector &lt;T&gt;;
  </code></pre>
  
  <p>How can i forward declare <code>MyVector</code>?</p>
  
  <pre><code>template &lt;typename T&gt;
  class MyVector;
  </code></pre>
  
  <p>does not work for me.</p>