摘要:
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
阅读(49)
评论(0)
推荐(0)
摘要:
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
阅读(57)
评论(0)
推荐(0)
浙公网安备 33010602011771号