title: Is there a way a partial specialization is always preferred over the primary template?
body: <p>I'm asking myself</p>
  
  <blockquote>
    <p>Can you write a class template and a corresponding partial specialization such that for any set of template arguments for the parameters, the partial specialization is taken by the compiler?</p>
  </blockquote>
  
  <p>For example</p>
  
  <pre><code>template&lt;typename T&gt;
  struct A { };
  
  template&lt;typename T&gt;
  struct A&lt;/* what to write!?*/&gt; { };
  </code></pre>
  
  <p>I seem to remember having read that this is possible somehow, but I forgot the exact algorithm to make this work. </p>