title: Is it possible to get a char* name from a template type in C++
body: <p>I want to get the string name (const char*) of a template type.  Unfortunately I don't have access to RTTI.</p>
  
  <pre><code>template&lt; typename T &gt;
  struct SomeClass
  {
      const char* GetClassName() const { return /* magic goes here */; }
  }
  </code></pre>
  
  <p>So</p>
  
  <pre><code>SomeClass&lt;int&gt; sc;
  sc.GetClassName();   // returns "int"
  </code></pre>
  
  <p>Is this possible?  I can't find a way and am about to give up.  Thanks for the help.</p>