title: human-readable type_info.name()
body: <p>I've compiled the following code with <code>g++</code>, and got output, which written in comments.</p>
  
  <pre><code>template&lt;class T&gt;
  void foo(T t) { cout &lt;&lt; typeid(t).name() &lt;&lt; endl; }
  
  int main() {
      foo("f");       //emits "PKc"
      foo(string());  //emits "Ss"
  }
  </code></pre>
  
  <p>I know, that <code>type_info.name()</code> isn't standartized, but is there any way to get human-readable results?</p>
  
  <p>Something like the following would be good enought</p>
  
  <pre><code>const char *
  class string
  </code></pre>