阅读背景:

传递带有捕获到遗留回调的lambdas

来源:互联网 

I'm using a C library in a C++11 project and this C library provides a function which expects a function pointer. I want to pass a C++11 lambda to it which works correctly unless I capture variables. Here is a short example:I'm using a C library in a C++11 project and th




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: