只是在需要报错min/max is not a member of std的文件增加 <algorithm>头文件即可
就像别人说的那样,不理性,这么常用的std::min/std::max. 居然要程序猿手动导入。。
cocos2d-x:安装: http://blog.163.com/jtyp_2000/blog/static/9910426201392110282602/
只是在需要报错min/max is not a member of std的文件增加 <algorithm>头文件即可
就像别人说的那样,不理性,这么常用的std::min/std::max. 居然要程序猿手动导入。。
cocos2d-x:安装: http://blog.163.com/jtyp_2000/blog/static/9910426201392110282602/