'find_if’ is not a member of ‘std'
2013-02-01 15:53
706 查看
今天在编译程序的时候,出现了'find_if’ is not a member of ‘std'。有点奇怪。 我记得它是vector里面的。 后来搜索了一下。
原来需要加头文件:
#include <algorithm>
编译就没报这个错误了。
原来需要加头文件:
#include <algorithm>
编译就没报这个错误了。
相关文章推荐
- 'numeric_limits' is not a member of 'std'|
- 'WriteHuge' : is not a member of 'CFile'
- error C2039: 'wstring' : is not a member of 'std'(转)
- C++11 'yield' is not a member of 'std::this_thread'
- 'SetWindowTextA' : is not a member of 'CString'
- cocos2dx ant编译'atoi' is not a member of 'std'
- 'GetCurSel' : is not a member of 'CTime'
- QT中的 'rand' is not a member of 'std'问题的解决
- Blitz++ error: 'labs' is not a member of 'std'
- 'numeric_limits' is not a member of 'std'
- error C2039: 'bitset' : is not a member of 'std'
- 'daemonize' is not a member of 'ACE'
- 错误:'bad_alloc' : is not a member of 'stlp_std'
- cocos2d-x-2.2.5 Eclipse编译报错 error: 'transform' is not a member of 'std' (IOS没有问题)
- error : 'AddString' : is not a member of 'CWnd'
- 今日download工程的奇怪问题error C2039: 'readStdErr' : is not a member of 'Programer',
- error C2039: 'm_dwVersion' : is not a member of 'AFX_MODULE_STATE'
- 继承QTreeWidgetItem发生error: 'staticMetaObject' is not a member of 'QTreeWidgetItem' 错误
- error C2039: 'foreground_regions' : is not a member of 'CvGaussBGModel'
- 继承QTreeWidgetItem发生error: 'staticMetaObject' is not a member of 'QTreeWidgetItem' 错误