eclipse是安装在Ubuntu下,在某个工程的.cpp文件里调用std::swap函数的时候地下有红色波浪线,整个工程编译正常
加上
#include <algorithm>
已经加了,网上网友还说把拼写检测关闭,我也关了以后还是会有那个问题
右键工程-》index-》rebuild一下试试