阅读背景:

即使当我重载=运算符时,也不能生成赋值运算符。

来源:互联网 

My class is polymorphic and should not be used to be ='d anyways. It has a member which is of type Font& and as a result the compiler cannot generate an = operator. So I just created dummy implementations of the assignment and copy constructor, put them in the private of the class, but it still warns me about assignment operator not able to get generated. How else can I get rid of this warning?My class is polymorphic and should not be used




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: