Hi Guys,
I have a quick doubt on virtual contructor!
Though, We cannot write virtual constructor in C++. But I read it we can achieve the effect of virtual contructor in C++ deisgn pattern called "Factory Design pattern".
Can somebody explain me with a nice and easy example of virtual contructor with factory design pattern?
Your help will be highly appreciated!
Thanks,
Vaibhav