[cfe-dev] blocks and lambdas

John McCall rjmccall at apple.com
Tue Feb 8 16:29:58 PST 2011


On Feb 8, 2011, at 3:56 PM, David Chisnall wrote:
> Blocks are a cross-platform solution, they're just not well supported by other compilers yet[1], but they're quite useable on a variety of platforms.
> 
> [1] Actually, they're not well supported by clang yet either - we allocate too many structures for __block variables.

Can you clarify what you mean here?  I'm not sure how to allocate fewer structures for __block variables, given how a single variable can be shared between multiple block objects.

John.



More information about the cfe-dev mailing list