title: Initialize member before base constructor. Possible?
body: <p>I have the following code:</p>
  
  <pre><code>class A{
  public:
      A(int* i){
          std::cout &lt;&lt; "in A()" &lt;&lt; i &lt;&lt; std::endl;
      }
  };
  
  class B: public A{
  public:
      B(): i{new int{10}}, A{i}{
          std::cout &lt;&lt; "in B()" &lt;&lt; std::endl; 
      }
  
  private:
      int* i;
  };
  
  int main()
  {
      B b;
  }
  </code></pre>
  
  <p>In <code>A</code> constructor I have 0 (which is expected). But I want to initialize <code>i</code> before. Is it possible at all?</p>