title: How to get class name?
body: <p>If I defined a class:</p>
  
  <pre><code>class Blah {};
  </code></pre>
  
  <p>How can I:</p>
  
  <pre><code>std::string const className = /* What do I need to do here? */;
  assert( className == "Blah" );
  </code></pre>
  
  <p>I dont think typeid().name() is a good idea since it's <a href="https://stackoverflow.com/q/4465872/65313">compiler implementation</a> specific. Is there anything provided by the C++ standard or Boost?</p>
  
  <p>Note: If the class were inherited from Qt's QObject, I could easily use <code>QMetaObject::className()</code> to get the class name.</p>