by zahlman · 5mo ago · 0 comments
That may well have been it, then. I would think that if it could have been expressed naturally, it would have been.
(I don't think I ever used private inheritance in my own C++ code. I'm not a huge fan of inheritance at all, so.)
So instead of anything goes, there is some additional type checking depending on the type of cast being made.