What's wrong with virtual function calls in constructor
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/496440/c-virtual-function-from-constructor">C++ virtual function from constructor</a>  </p>
</blockquote>



<p>I'm using a static code analyzer and it keeps warning me when I call a virtual function in a subclass's constructor.</p>

<p>Why does it warn me? I have always done this and obtained exactly the results I want.</p>

<p>If I cannot do this then what can I do? Call an init() function after the object is instantiated?</p>

<p>Thanks</p>
