operator== 功能说明判断参数是否相同。 定义#ifndef ATB_COMMONOPPARAM_H namespace atb { namespace common { inline bool operator==(const EventParam &left, const EventParam &right) { return left.operatorType == right.operatorType && left.event == right.event; } } // namespace common } // namespace atb #endif 父主题: atb/common_op_params.h