Boost logo

Boost :

Subject: Re: [boost] Template metaprogramming libraries
From: Larry Evans (cppljevans_at_[hidden])
Date: 2011-09-10 10:28:11

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:



Boost list run by bdawes at, gregod at, cpdaniel at, john at