constructer

Why don't we have virtual constructors in c++?
What could it possibly mean to have a virtual constructor? What behaviour would such a thing have?
Sir i don't know much about it...i want to know answer why ??
Think about what it means to make a method virtual.

Now think about how that might apply to a constructor. Can you see any way in which it might?
Stroustrup answered this question in his FAQ: http://www.stroustrup.com/bs_faq2.html#virtual-ctor
Topic archived. No new replies allowed.