Apple Blocks added to C++?

Michel Fortin michel.fortin at michelf.com
Thu Sep 3 14:14:51 PDT 2009


On 2009-09-03 14:14:27 -0400, Sean Kelly <sean at invisibleduck.org> said:

> == Quote from Walter Bright (newshound1 at digitalmars.com)'s article
>> One could argue that gcc has them as an extension but nobody uses them.
>> My experience with adding extensions to DM C++ is that nobody uses them
>> because it is non-standard, not because they are a bad idea.
> 
> And that's why I won't be using Apple's new closures, regardless of whether
> I'd actually find them useful.

Even for OSX-specific code?

I see no reason not to use them in a Cocoa app for instance, nor when 
you want to schedule tasks using Grand Central Dispatch. You're already 
bound to Apple-world anyway.

-- 
Michel Fortin
michel.fortin at michelf.com
http://michelf.com/




More information about the Digitalmars-d mailing list