error C2533: ' ::{ctor}' : constructors not allowed a return type

Keep Open and Learning
Post Reply
星际浪子
Posts: 3597
Joined: 01 May 2009 23:45

error C2533: ' ::{ctor}' : constructors not allowed a return type

Post by 星际浪子 » 14 Jul 2011 09:38

出现这个错误是因为在定义的类体中,在最后少了个分号“;”

class

{

private:

public:


};

Post Reply