mfc 中的CStringList怎么不能作为参数和返回值?

逆水寒_ 逆水寒_ 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
直接返回,返回指针,传出参数都有问题。。。 这是为啥呢。。


1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcoll.h(899): error C2248: “CObject::operator =”: 无法访问 private 成员(在“CObject”类中声明)
1> d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afx.h(535) : 参见“CObject::operator =”的声明
1> d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afx.h(509) : 参见“CObject”的声明
1> 此诊断出现在编译器生成的函数“CStringList &CStringList::operator =(const CStringList &)”中
1> BeginDlg.cpp
...全文

相关推荐

评论 3
收藏 已收藏
分享
返回顶部
逆水寒_
VC/MFC 16,550 成员 421,606 内容