title: Replace default template argument with alias
body: <p>For a template with the following definition, The <strong>'typename Container = std::deque'</strong> seems to be the default template arguments. In this case can I just use alias instead? </p>
  
  <pre><code>template&lt;typename T, typename Container = std::deque&lt;T&gt; &gt;
  class stack {
      // ...
  }
  </code></pre>
  
  <p>Can I replace it with Alias?</p>
  
  <pre><code>template&lt;typename T, typename C&gt;
  class stack {
      using Container = C&lt;T&gt;  // replace with alias
  }
  </code></pre>
  
  <p>Updates:
  I am curious about how to pass in a template param if C is a template. The answer below actually answers my question pretty well.</p>