
On 09/10/11 06:03, Ábel Sinkovics wrote:
Hi Gordon,
"Nested Lambda Expressions with Let Expressions in C++ Template Metaprograms" explains metamonad's lambda expressions. The major difference between that approach and MPL's lambda expressions is that metamonad lambda expressions let the user specify the name of the arguments instead of calling them _1, _2, etc. Using these lambda expressions I could embed lambda expressions inside other lambda expressions. The implementation of do-syntax relies on these lambda expressions as well.
Hi Abel, Are you saying that using the existing mpl, one cannot embed lambda expressions inside other lambda expressions? Is that mpl problem an example of name capture: http://dictionary.reference.com/browse/name+capture ? -regards, Larry