constructors not allowed a return type
出现这样的问题error: C2533: ‘TitleBar::{ctor}’ : constructors not allowed a return type,是因为类定义或者申明时,结束的地方忘了加个’ ; ‘
本文解决了在类定义或声明时出现的构造函数不允许有返回类型的问题,通常是因为忘记在类定义末尾添加分号导致。
出现这样的问题error: C2533: ‘TitleBar::{ctor}’ : constructors not allowed a return type,是因为类定义或者申明时,结束的地方忘了加个’ ; ‘
962

被折叠的 条评论
为什么被折叠?
