- 博客(1)
- 收藏
- 关注
原创 关于passing ‘const *’ as ‘this’ argument of ‘*’ discards qualifiers的问题
class Rectangle { public: string what(); friend ostream& operator <<(ostream& os,const Rectangle &object); }; ostream& operator << (ostream& os,const Rectangle& object) { os << object.what() <<":
2012-11-18 22:59:59 10883
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人