简体   繁体   中英

build error with c++ - ‘find_if’ is not a member of ‘std'

While building a project, I get this cryptic error:

'find_if' is not a member of 'std'

find_if() is used this way: std::find_if(...).

Any idea where it could come from ?

add the inclusion:

#include <algorithm>

to your implementation file.

包含<algorithm>头文件:

#include <algorithm>

你有没有标题?

#include <algorithm> 

你需要#include <algorithm>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM