title: Template class, function specialization
body: <p>I want to have a template class that looks something like what I have down below. Then, I want a function in it with a template specialization depending on a CLASS template parameter. How do I make this work? I realize the code I provided is wrong on many levels, but it's just to illustrate the concept.</p>
  
  <pre><code>template &lt;typename _T, size_t num&gt;
  class Foo
  {
      // If num == 1, I want to call this function...
      void Func&lt;_T, 1&gt;()
      {
          printf("Hi!");
      }
  
      // Otherwise, I want to call this version.
      void Func&lt;_T, num&gt;()
      {
          printf("Hello world!");
      }
  };
  </code></pre>