title: Should I call a member function in a constructor
body: <p>I know it's a rather a simple question and also depends on the rest of the code, but I'm more interested in the rule of thumb.</p>
  
  <p>So in what cases it's appropriate to call a function inside a constructor?</p>
  
  <p>What is preferable:</p>
  
  <pre><code>ClassA obj1;
  obj1.memFun();
  </code></pre>
  
  <p>or </p>
  
  <pre><code>ClassA obj1;
  //where constructor of ClassA is
  ClassA::ClassA(){ memFun(); }
  </code></pre>