title: (Partially) specializing a non-type template parameter of dependent type
body: <p>Maybe I'm tired, but I'm stuck with this simple partial specialization, which doesn't work because <code>non-type template argument specializes a template parameter with dependent type 'T'</code>:</p>
  
  <pre><code>template &lt;typename T, T N&gt; struct X;
  template &lt;typename T&gt;      struct X &lt;T, 0&gt;;
  </code></pre>
  
  <p>Replacing <code>0</code> by <code>T(0)</code>, <code>T{0}</code> or <code>(T)0</code> doesn't help. So is this specialization even possible?</p>