编译错误:
xutility(39) : error C2679: binary '=' : no operator defined which takes a right-hand operand of type 'const class CObj' (or there is no acceptable conversion)
解决:
CObj& operator = (CObj& obj)
改为CObj& operator = (const CObj& obj)
posted on 2008-03-21 22:41 王骏的BLOG 阅读(881)
评论(0) 编辑 收藏