C++ lambdas as Brian Will's code blocks
use code block"
language feature
that works as
"an anonymous function that does not see anything in its enclosing scope"
and helps to better express the logic of a procedure
by structuring its name space.
Very similar scoping rules
apply to
C++ lambdas
that were introduced in the 2011 standard.
This post takes a look at
how lambdas can make
long procedures more readable and expressive.
