Loading

摘要: 先来看这样一段代码 class Base { public: virtual void print(int a = 1) const { std::cout << "Base " << a << "\n"; } }; class Derived : public Base { public: vir 阅读全文
posted @ 2021-10-02 17:16 zhb2000 阅读(158) 评论(0) 推荐(1) 编辑