3 ms·
Maybe the author wanted this to be C99 compliant but a cool thing is that by using clang we even have lambdas. It's called blocks, the same as in Objective-C.
by jdmoreira 10y ago
Maybe the author wanted this to be C99 compliant but a cool thing is that by using clang we even have lambdas. It's called blocks, the same as in Objective-C.
http://clang.llvm.org/docs/BlockLanguageSpec.html http://clang.llvm.org/docs/BlockLanguageSpec.html
I've been using them in all my new C code, since I'm stuck to clang anyway, and it's awesome.