News for hackers. Stuff that matters.
Re:Lambda expression comparison between C++11, C++14 and C++17 by optforfon on Sunday May 15, 2016 @03:07AM (#11699846)
I honestly would have much preferred they had a keyword so that it kinda matched the rest of the language. It feels a bit tacked on and hard to parse.

Something like:

lambda(arguments):capture list {...}

Just seems way more clear. Looks more like a function or a class (and a lambda is sort of an in-between kind of thing anyway)

There are no comments on this comment yet.