title: How can I initialize base class member variables in derived class constructor?
body: <p>Why can't I do this?</p>
  
  <pre><code>class A
  {
  public:
      int a, b;
  };
  
  class B : public A
  {
      B() : A(), a(0), b(0)
      {
      }
  
  };
  </code></pre>