VS2010中error C2780: const _Ty &std::max(const _Ty &,const _Ty &,_Pr)

来源:互联网 发布:安卓按键精灵脚本源码 编辑:程序博客网 时间:2024/06/03 22:44

将int x = max(i,j);

改成

int x = (std::max<int>)(i,j);

原创粉丝点击