title: How to initialize static members in the header
body: <p>Given is a class with a static member.</p>
  
  <pre><code>class BaseClass
  {
  public:
      static std::string bstring;
  };
  </code></pre>
  
  <p>String has obviously to be <em>default-initialized</em> outside of the class.</p>
  
  <pre><code>std::string BaseClass::bstring {"."};
  </code></pre>
  
  <p>If I include the above line in the header along with the class, I get a <code>symbol multiply defined</code> error. It has to be defined in a separate <code>cpp</code> file, even with <code>include guards</code> or <code>pragma once</code>.</p>
  
  <p>Isn't there a way to define it in the header?</p>