摘要: 使用bind绑定到成员函数时,即使成员函数不需参数,也要将this绑定在第一个参数: #include <iostream> #include <functional> using namespace std; class test { public: test() : function(std:: 阅读全文
posted @ 2023-04-12 15:17 epiphanyy 阅读(42) 评论(0) 推荐(0)