News for hackers. Stuff that matters.
Re:Apple's Module proposal to replace headers for C-based la... by comex on Monday November 26, 2012 @04:29PM (#4834115)
You can now implicitly cast lambdas to blocks, although they're otherwise completely separate (and must be - C++'s approach wouldn't easily translate to C).
Re:Apple's Module proposal to replace headers for C-based la... by bronxbomber92 on Monday November 26, 2012 @05:28PM (#4834385)
They can be cast the other way, too. No?
Re:Apple's Module proposal to replace headers for C-based la... by plorkyeran on Monday November 26, 2012 @07:10PM (#4834757)
Casting to a C++11 lambda doesn't really make any sense; each lambda function is a unique anonymous type. There's also no need to do any casting to use an Obj-C block anywhere that you can use a C++11 lambda, since they obviously already implement the Callable concept.