no matching function for call to 'find(std::list<int>::iterator,std::list<int>::iterator, int&)'问题
2014-08-29 09:52 playerboy 阅读(1937) 评论(0) 编辑 收藏 举报cocos2dx用find算法,编译运行正常,但是在eclipse中混编时候,却报出如题中错误,开始以为eclipse不支持呢,后来想想这是标准的c++算法,应该不会不支持。搜了下,原来只需要添加上对算法库的头文件引用即可:#include <algorithm>,再次编译就OK了。