ERROR:C2678 二进制“<”: 没有找到接受“const _Ty”类型的左操作数的运算符(或没有可接受的转换)

【1】复现问题 为了更精确的分析,先用最简单的示例复现此错误场景,代码如下: 1 #include <map> 2 #include <string> 3 4 struct Section 5 { 6 int id; 7 std::string code; 8 9 bool operator<(co
posted @ 2020-12-18 10:39  kaizenly  阅读(5526)  评论(0编辑  收藏  举报
打赏_a56爆大奖在线娱乐