摘要: **只定义`void testFunc(int num, const std::function& functor)`就可以,其他的相当于这个函数的特化版本** ```c++ #include #include using namespace std; int func1(int num) { co 阅读全文
posted @ 2023-08-01 15:26 小小灰迪 阅读(26) 评论(0) 推荐(0) 编辑