title: Template template partial specialization failure: "expected a class template"
body: <p>This example code generates <code>expected a class template, got std::pair &lt;_T1, _T2&gt;</code>. I tried using <code>struct Struct &lt;std::pair&gt; {};</code>, but then parameters <code>T</code> and <code>M</code> become undeducible. How to avoid this?</p>
  
  <pre><code>    template &lt;template &lt;class...&gt; class&gt;
      struct Struct {};
  
      template &lt;class T, class M&gt;
      struct Struct &lt;std::pair &lt;T, M&gt;&gt; {};
  </code></pre>