title: How to typedef a template class?
body: <p>How should I <code>typedef</code> a <code>template class</code> ? Something like:</p>
  
  <pre><code>typedef std::vector myVector;  // &lt;--- compiler error
  </code></pre>
  
  <p>I know of 2 ways:</p>
  
  <pre><code>(1) #define myVector std::vector // not so good
  (2) template&lt;typename T&gt;
      struct myVector { typedef std::vector&lt;T&gt; type; }; // verbose
  </code></pre>
  
  <p>Do we have anything better in C++0x ?</p>