cpp4 std::function

std::function<int(int,int)> foo,bar;
用函数类型初始化模板参数
原文地址:https://www.cnblogs.com/xpylovely/p/15035990.html