热门

最新

红包

立Flag

投票

同城

我的

发布
weixin_46028497
秃头猿是可可粉
5 年前
trueweixin_46028497

为什么VS2019中 写set容器的内置类型指定排序规则要写成
bool operator ()(const int &a,const int &b)const
而不是bool operator ()(int a,int b)
这几个const有什么用吗?
多谢各位

CSDN App 扫码分享
分享
评论
2
打赏
  • 复制链接
  • 举报
下一条:
继续打卡,坚持打卡,求点赞
立即登录