Why does defining an empty copy ctor beside a deleted default ctor make a value initialization with empty list fail?

前端 未结 0 1808
予麋鹿
予麋鹿 2021-01-13 15:03

In short, why the code below behaves like described in the comments?

struct A
{
    A() = delete;
    //A(const A&         


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