So, I found this quote today, can anyone explain?
\"If you think C++ is not overly complicated, just what is a protected abstract virtual base pure virtual private d
Basically, he just threw together a bunch of words and stuck them together without realizing they actually refer to different things, or often, the same thing.
protected abstract virtual base
Pretty simple.
class Base { // BASE
virtual something() = 0; // ABSTRACT
};
class Derived : protected virtual Base { // PROTECTED VIRTUAL
};
pure virtual private destructor
Also pretty simple.
class Base { // BASE
private:
virtual ~Base() = 0; // pure virtual, private, destructor
};
class Derived : Base {
};
Of course, pure virtual is the same as abstract.
It's quite clearly complete and total hyperbole written by someone who doesn't have a clue what he's talking about.