printf("%d\n", boost::bind(&A::add, _3, _1, _2)(1, 2.5, a));
[quote=引用 3 楼 lianshaohua 的回复:] [quote=引用 2 楼 china_jeffery 的回复:] [quote=引用 1 楼 lianshaohua 的回复:] 试试这个:printf("%d\n", boost::bind(&A::add, boost::ref(a), _1, _2)(1, 2.5,));
printf("%d\n", boost::bind(&A::add, boost::ref(a), _1, _2)(1, 2.5,));
[quote=引用 2 楼 china_jeffery 的回复:] [quote=引用 1 楼 lianshaohua 的回复:] 试试这个:printf("%d\n", boost::bind(&A::add, boost::ref(a), _1, _2)(1, 2.5,));
[quote=引用 1 楼 lianshaohua 的回复:] 试试这个:printf("%d\n", boost::bind(&A::add, boost::ref(a), _1, _2)(1, 2.5,));
试试这个:printf("%d\n", boost::bind(&A::add, boost::ref(a), _1, _2)(1, 2.5,));
64,647
社区成员
250,476
社区内容
加载中
试试用AI创作助手写篇文章吧