title: Specialization of template class method
body: <p>Suppose I have the following class:</p>
  
  <pre><code>template &lt;typename T&gt;
  class MyClass
  {
  public:
      void SetValue(const T &amp;value) { m_value = value; }
  
  private:
      T m_value;
  };
  </code></pre>
  
  <p>How can I write a specialized version of the function, for T=float (or any other type)?</p>
  
  <p>Note: A simple overload won't suffice because I only want the function to be available for T=float (i.e. MyClass::SetValue(float) doesn't make any sense in this instance).</p>