News for hackers. Stuff that matters.
Re:Coroutines are now in Clang trunk, libc++ by gpderetta on Friday May 26, 2017 @10:32AM (#14424288)
Also note that C++ needs the curly brackets because, differently from python, lambdas can contain arbitrary statements, not just one expression (one would use a local function in python).

There have been discussions about adding a lighter syntax for single expression lambdas that doesn't require the curly brackets and the 'return' keyword, but so far no actual progress.

There are no comments on this comment yet.