场景

错误 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必须包含该头文件