lambda Expressions

So this is the next big thing for C++.
I've been reading up on it today - that syntax is UGLY and personnaly I think it messes up the function call with all code along with the other params.
But it's early days yet.

See

http://www.cplusplus.com/forum/beginner/11917/

The syntax is a bit ... different.

Though I'd say rvalue references and concepts (if they make it) are equally big, if not bigger.
The Boost lambda syntax was ugly. The syntax in the C++ standard is quite an improvement to that. I guess I'm saying that you should be thankful for what you got. It could have been much worse.

If used judiciously, lambda function can improve the readability of C++ programs that use algorithms. One no longer has simple predicates in a completely separate part of the code or ugly binders to bind in simple functions.
Topic archived. No new replies allowed.