uint8_t 不是“std”的成员
添加头文件
#include <iostream>
备注
#include <stdint.h>头文件也定义了uint8_t等变量,如果前面添加了std::作用域,就需要包含上述头文件
“bind2nd”: 不是“std”的成员
场景
错误 1 error C2039: “bind2nd”: 不是“std”的成员
错误 2 error C2039: “mem_fun”: 不是“std”的成员
错误 6 error C2039: “ptr_fun”: 不是“std”的成员
错误 16 error C3861: “bind1st”: 找不到标识符
解决
#include <functional>
说明
在VS2005下可以不包含该文件,但是在VS2010必须包含该头文件
bind is not a member of std
解决
#include <functional>