bool operator==(const Status& other) const 接口功能重载状态信息对象==操作符,实现若两个状态对象判断是否相等时,只需比较错误码是否相同即可。 接口格式bool operator==(const Status& other) const 接口参数 参数 是否必选 说明 取值要求 other 必选 与本状态对象比较的另外一个状态对象。 合法的状态对象。 使用样例无 返回值无 父主题: Status