摘要: 先粗略记一下。。。。对同一个操作符同时实现成员函数重载和友元重载时,优先调用成员重载,当不存在成员重载时调用友元重载 1 #include "stdafx.h" 2 3 class CTest { 4 public: 5 CTest(int nValue) : nValue_(nValue... 阅读全文
posted @ 2015-10-19 09:43 琼' 阅读(157) 评论(0) 推荐(0) 编辑