title: How to specialize template template parameter for a class?
body: <p>I have a template class</p>
  
  <pre><code>template &lt;class T&gt;
  struct TypeText {
      static const char *text;
  };
  </code></pre>
  
  <p>and a couple of specializations for the "text" member:</p>
  
  <pre><code>template &lt;&gt; const char* TypeText&lt;int&gt;::text = "INT";
  template &lt;&gt; const char* TypeText&lt;long&gt;::text = "LONG";
  </code></pre>
  
  <p>How to implement a specialization for <code>std::vector&lt;A,B&gt;</code> with no prior knowledge about <code>A</code> and <code>B</code> ? Is it possible to differ <code>std::vector&lt;A,B&gt;</code> from <code>SomeOtherClass&lt;A,B&gt;</code>?</p>
  
  <p>The following doesn't work:</p>
  
  <pre><code>template &lt;&gt;
  template &lt;class T, class A&gt;
  const char* TypeText&lt; std::vector&lt;T,A&gt; &gt;::text = "vector";
  </code></pre>