nidefuqing
Results
1
issues of
nidefuqing
MyReactor.h:67:26: error: ISO C++ forbids initialization of member ‘m_listenfd’ [-fpermissive] MyReactor.h:67:26: error: making ‘m_listenfd’ static [-fpermissive] 为什么在类内初始化变量,好像只有const static int a =1; 这样才可以类内初始化吧 我是个小白 楼主指点一下吧