我試圖做的事:沒有匹配的函數調用Std :: find?
std::find(images_map.begin(), images_map.end(), current_rgb));
其中:
QRgb current_rgb;
QMap<QRgb, MI*> images_map;
,但我得到:
error: no matching function for call to 'find(QMap<unsigned int, MI*>::iterator, QMap<unsigned int, MI*>::iterator, QRgb&)
那些來自Qt的'QMap'和'QRbg'類嗎? – Mat
嗯......混合Q. T.和S. T. L.似乎是要求P. A. I. N. –