Is it possible to have Virtual Constructor? If yes, how? If not, Why not possible?

A: There is nothing like Virtual Constructor. The Constructor can’t be virtual as the constructor is a code which is responsible for creating an instance of a class and it can’t be delegated to any other object by virtual keyword means.

Comments

Chaitanya said…
Virtual constructor not possible.Because at the time of object construction Vtable is not created.

http://ccppcoding.blogspot.in/
Unknown said…
This comment has been removed by the author.
Sujitkumar said…
Nice info. Thanks for sharing valuable info about about c++ Faqs. I want to learn c training this tutorial is really helpful. Thanks a lot. Keep sharing on updating tutorials……