if i have a base class that has all of its functions declared virtual, even the constructor, then the classes that inherit from this class, how is the constructor called?
for example
Code:class blah { public: virtual blah() {}; virtual void yay() {}; virtual ~blah() {}; } class woo : public blah { public: woo() { blah * hello = new blah(); } //what is this actually doing? void yay() {}; ~woo() {}; }