e.g.
class B
{
public:
virtual ~B() {printf("Base class Destructor");}
};
class D
{
public:
~D() {printf("Derived class Destructor");}
};
Is it somehow possible to altogether avoid printing 'Base class Destructor' when an object of class D is destructed (of course without causing a memory leak)..
If you need to know, I'll later tell you the actual problem which I'm trying to solve this way.