title: Specialize a defined type in a class template?
body: <p>For example</p>
  
  <pre><code>template&lt;class T&gt;
  struct Foo
  {
      typedef int Type;
      void f();
  }
  </code></pre>
  
  <p><code>Foo&lt;T&gt;::f()</code> can be specialized for a specific <code>T</code>. How about the defined type <code>Type</code>?  If it works, I don't need to specialize the whole class. Any ways to implement this intent?</p>