摘要: 课程中模板模板参数的举例 template<typename T, template <typename T> class Container > class XCls { private: Container<T> c; public: XCls() { for(long i=0; i< 100; 阅读全文
posted @ 2021-12-22 22:31 80k 阅读(75) 评论(0) 推荐(0)
摘要: 动态绑定的要求是 1、通过指针调用 2、虚函数 阅读全文
posted @ 2021-12-22 22:23 80k 阅读(52) 评论(0) 推荐(0)