更新时间:2023-11-12 11:47:52
您使用的是原始文件
与 std :: function
不同,这不适用于捕获的lambda或 std :: bind
的结果,或者具有实现 operator()
的通用类类型。
Unlike std::function
, this will not work with a lambda that captures, or with a result of std::bind
, or with a general class type that implements operator()
.