title: Can I call a virtual function in a constructor?
body: <p>I know that a call of virtual function in constructors can cause undefined behavior.
  However, calling virtual function with a scope modifier is OK?</p>
  
  <pre><code>class A
  {
  
  public:
  A() { A::f(); }
  virtual void f();
  
  };
  
  class B
  {
  
  public:
  B() { B::f(); }
  virtual void f();
  
  };
  </code></pre>
  
  <p>I think it is not different from calling a non-virtual function and it doesn't have any problems.
  Is it right? Or Did I overlook something?</p>