title: How do I fully specialize a function template with a class template?
body: <pre><code>template &lt;typename T&gt;
  void foo(T t)
  {
     ... // do stuff with type T
  }
  
  template &lt;typename T&gt;
  class class_template
  {
      // class body
  };
  
  template&lt;&gt;                       // failed attempt at full specialization
  void foo(class_template&lt;T&gt; t)    // which doesn't work of course
  {
      //full specialization for all classes of class_template
  } 
  </code></pre>
  
  <p>In the above code how do I explicitly specialize function foo with a class template?</p>