昇腾社区首页
中文
注册

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