摘要: operator=为什么值得注意?从语法上讲,下面的程序可以编译通过,我在另一篇笔记示例里面也这样用了。class A1{public: int operator=(int a)//参数是int,语法通过但逻辑不通。 { return 8; } int oper... 阅读全文
posted @ 2014-11-21 16:38 oucaijun 阅读(5457) 评论(1) 推荐(1)
下载TeamViewer完整版 下载TeamViewer