会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
褪色回音
.慎独
首页
新随笔
联系
管理
文章分类 -
c++
【转载】C++ 重载运算符使用const的原因
摘要:如这段代码: bool operator <(const student &a ) const{ if(score!=a.score) return score<a.score; else if(name.compare(a.name)!=0) return name<a.name; else if
阅读全文
posted @
2020-09-24 17:29
褪色回音
阅读(604)
评论(0)
推荐(0)
公告