I've wondered if it is possible to convert a C++0x lambda to a clang block. So far anything I've seen on it has involved the discussion between their differences. My primary reason for looking into this, is to make an eventual wrapper for libdispatch
, and while I'm quite aware of dispatch_*_f
functions, any information on their use has been quite lacking, in comparison to their block counterpart.
So far I've been able to find information on converting a C++ lambda to a function pointer, but this is more in the realm of the reverse.
If anyone knows anything related to this, and could provide a link, or at least point me in the right direction, I would really appreciate it. (even a "This is not currently possible" answer will suffice)