摘要: # bind bind 是C++ 的一个函数, 用来绑定其他函数,用来改造。 ## 1. 普通函数的bind 普通函数可以被绑定,传参。 ```cpp int add(int x, int y){ cout using std::bind; int main(){ auto f = bind(&ad 阅读全文
posted @ 2023-07-24 23:37 zxinlog 阅读(1551) 评论(0) 推荐(0)