摘要: https://stackoverflow.com/questions/15499146/why-a-derived-class-must-redefine-an-overrided-base-class-method Your foo(int) hides the base class name. 阅读全文
posted @ 2019-12-30 10:20 相印 阅读(348) 评论(0) 推荐(0)
摘要: 网上的观点都不赞成继承STL. SO上的一篇问答: Is it okay to inherit implementation from STL containers, rather than delegate? The risk is deallocating through a pointer t 阅读全文
posted @ 2019-12-30 02:51 相印 阅读(284) 评论(0) 推荐(0)