Can the default destructor be generated as a virtual destructor automatically?

前端 未结 7 1531
轮回少年
轮回少年 2021-01-31 07:30

Can the default destructor be generated as a virtual destructor automatically?

If I define a base class but no default destructor, is there a default virtual destructor

7条回答
提交回复
热议问题