How to make sure a virtual method gets called just after the constructor?
I have a base class with an abstract virtual function fv()
which is only implemented in derived classes. I want to make sure that the fv()
of the derived classes is called in or immediately after the constructor.