title: Delay constructor call
body: <p>I need to delay the constructor call, so I can initialize the value that should be passed to the constructor. I have written a short and very simplified example.</p>
  
  <pre><code>class A
  {
  private: 
     ObjectA* _ptr;
  
  public: 
     A(ObjectA*);
  };
  
  class B
  {
  private:
     A object;     // The constructor seems to be called here?
     ObjectA* obj;
  
  public: 
     B();
  };
  
  A::A(ObjectA* ptr) 
  {
     this-&gt;_ptr = ptr;
  }
  
  B::B()
  {
     obj = new ObjectA();
     object(obj); // I want to call the 'A' constructor here, after initializing of 'obj'.
  }
  </code></pre>
  
  <p>Is it possible?</p>