title: Templated class specialization where template argument is a template
body: <p>I wondering if something similar to this is possible.  Basically, I have a templated class that occasionally takes objects of templated classes.  I would like to specialize it (or just a member function)for a specific templated class, but the 'generic' form of that class.  </p>
  
  <pre><code>template&lt;typename T, typename S&gt;
  class SomeRandomClass
  {
      //put something here
  };
  
  template&lt;typename T&gt;
  class MyTemplateClass
  {
      void DoSomething(T &amp; t) {
         //...something
      }
  };
  
  template&lt;&gt;
  void MyTemplateClass&lt; SomeRandomClass&lt;???&gt; &gt;::DoSomething(SomeRandomClass&lt;???&gt; &amp; t)
  {
      //something specialized happens here
  }
  </code></pre>
  
  <p>Replacing the question marks with appropriate types (double, etc) works, but I would like it to remain generic.  I don't know what to put there, as any types wouldn't have been defined. I've looked around, and learned about template template parameters, and tried various combinations to no avail. Thanks for the help!</p>