摘要:
std::vector<StAlarmInfo > g_vec; UINT j =1;std::vector<StAlarmInfo *>::iterator iter = std::find_if (g_vec.begin(), g_vec.end(), Find_AutoID_AlInfo(j));if(iter != g_vec.end() ){找到}class Find_AutoID_AlInfo{public: explicit Find_AutoID_AlInfo (const int autoid):id(autoid) {} bool operator 阅读全文