How to use move constructor with deleted default consturctor

前端 未结 0 1959
死守一世寂寞
死守一世寂寞 2021-01-05 08:13

I have an existing piece of code like this:

struct Base {
    Base() = default;
};

struct Derive: public Base
{
    Derive() = default;
    Derive(const Deri         


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