title: Is it recommended to make all classes inherit from a base class in c++?
body: <p>I'm wondering whether should I make all my classes inherit from a base class, so as to be able to apply something like (garbage collection mechanism)</p>