by cengizkrbck · 12y ago · 0 comments
The syntax is a bit arcane, but it does what it needs to. They could've stuck a "lambda" keyword in front of it all, but it's not necessary, and making a new keyword always has the potential to break old code.
#define lambda []
?
If you're going to write C++, then write C++. Don't redefine language constructs to fit the patterns of your other favourite language.
#define begin {
#define end }
too. I would not suggest it though.