Initialization of reference member requires a temporary variable C++

后端 未结 12 1882
自闭症患者
自闭症患者 2020-12-10 03:29
struct Div
{
   int i;
   int j;
};   

class A
{
    public:
             A();
             Div& divs;
};

In my constructor definition, I have

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