04 2021 档案

摘要:struct interface_base{ virtual void foo() = 0;}; struct interface : virtual public interface_base{ virtual void bar() = 0;}; struct implementation_bas 阅读全文
posted @ 2021-04-28 13:51 ylron
摘要:class Dog{public: Dog() { age_= 0; } int age_; std::string name_; using pointer = boost::shared_ptr<Dog>;}; void ChangeDogV0(const Dog& dog){ dog.age_ 阅读全文
posted @ 2021-04-28 10:26 ylron