no match for 'operator==' in 'y[b] == 不过这一题已经做出.

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/04 18:54:40
no match for 'operator==' in 'y[b] == 不过这一题已经做出.

no match for 'operator==' in 'y[b] == 不过这一题已经做出.
no match for 'operator==' in 'y[b] ==
不过这一题已经做出.

no match for 'operator==' in 'y[b] == 不过这一题已经做出.
操作符 “==” 没有匹配的重载.
如果你要用“==”对两端的表达式判断相等,那么“==”如果两端不是基本数据类型那么一定要进行重载.