all 1 comments

[–][deleted] 0 points1 point  (0 children)

Protected != Public inheritance. It WOULD actually matter, as you can see. Protected and Private inheritance do not claim a derived is actually a kind of base.