If we define a abstract class which has a pure virtual destructor, why do we have to give a definition of a destructor in the abstract class?
The destructor for the base class must be called when the object is destroyed, so it needs a definition.
1.4m articles
1.4m replys
5 comments
57.0k users