0
class Derived1 : public Base {};
class Derived1 : private Base {};
什麼意思,但到底是什麼
class Derived1 : Base {};
是什麼意思?
我在異常處理的優秀助推文章中發現了這樣一個例子:http://www.boost.org/community/error_handling.html在「2)virtual inheritance」部分下。
它默認爲私有。 – chris