Wpis z mikrobloga

If you think C++ is not overly complicated, just what is a


“protected abstract virtual base pure virtual private destructor,”


and when was the last time you needed one?


— Tom Cargill (1990)

class Base {

private:

virtual ~Base() = 0;

};

class Derived: protected virtual Base { … };
  • 3