Sharing common code between derived classes in C++

前端 未结 0 1029
旧时难觅i
旧时难觅i 2020-11-30 22:22

I\'m having trouble when trying to share common code between derived classes in the below example:

class BaseWrite {
    public:
    virtual void setup() {}
}         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题