What is the difference between public
, private
, and protected
inheritance in C++? All of the questions I've found on SO deal with specific cases.
转载于:https://stackoverflow.com/questions/860339/difference-between-private-public-and-protected-inheritance