“min” is not a member of std
解决办法:加入#include <algorithm>
using namespace std
% using namespace std::min
int a=9, b=8;
std::min(int)(a, b);
“min” is not a member of std
解决办法:加入#include <algorithm>
using namespace std
% using namespace std::min
int a=9, b=8;
std::min(int)(a, b);