C++11新增特性std::function, std:bind, lambda表达式
[ captures ] ( params ) lambda-specifiers requires(optional) { body }
[外部变量访问方式说明符] (参数) mutable noexcept/throw() -> 返回值类型
{
函数体;
};
[=](int x, int y) -> bool{ return x < y; }

C++11新增特性std::function, std:bind, lambda表达式
[ captures ] ( params ) lambda-specifiers requires(optional) { body }
[外部变量访问方式说明符] (参数) mutable noexcept/throw() -> 返回值类型
{
函数体;
};
[=](int x, int y) -> bool{ return x < y; }