判断一个函数对象是否可调用: operator bool()返回true证明对象可调用
#include <functional>
#include <iostream>
using Task = std::function<void()>;
template<typename T>
void
判断一个函数对象是否可调用: operator bool()返回true证明对象可调用
#include <functional>
#include <iostream>
using Task = std::function<void()>;
template<typename T>
void