Tags » Design Patterns
This one seems to be a lot more straightforward.
Cool C++ Fact!: The reason why you might need a virtual destructor for a base class, is that if you try and delete a derived class object by calling delete on a pointer to the base class, this results in undefined behavior. 276 more words