Why the copy constructor was called(statick_cast)

后端 未结 0 1221
执念已碎
执念已碎 2021-01-24 05:05
class TokenB {
    public:
    TokenB() {cout << "default B ";}
};

class TokenD: public TokenB{
    public:
    TokenD(){cout << "default D &         


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