error C2039: “bind2nd”: 不是“std”的成员

VS2012 出现如下错误:

error C2039: “bind2nd”: 不是“std”的成员

头文件中加上

#include <functional>

原文地址:https://www.cnblogs.com/VVingerfly/p/5455470.html