3 ms·
Interesting, thank you. FWIW, it looks like the concept of a block is also an anonymous function, although it looks as if they only allow passing into them by
by pohl 17y ago
Interesting, thank you.
FWIW, it looks like the concept of a block is also an anonymous function, although it looks as if they only allow passing into them by value, not by reference. The developer documentation at Apple indicates that they also support these within C++, and has a small section on how they behave within it. So, at least, they went the extra mile and worked out the C++ parsing issues.
http://developer.apple.com/mac/articles/cocoa/introblocksgcd.html http://developer.apple.com/mac/articles/cocoa/introblocksgcd...