Boost logo

Boost :

Subject: Re: [boost] phoenix::bind
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-10-03 14:40:40


AMDG

Peter Dimov wrote:
> Eh. How about this one:
>
> lambda(_x, _y)[ let. _z = _x + _y, _z * _z ]
>
> I think that the implicit let will be much less of an issue in a
> lambda context than it is in Python (or Javascript), though.

Doesn't that imply that _a, _b, ... have to be enumerated in the
definition of let?

I like to have the possibility of defining new local variable names.

In Christ,
Steven Watanabe


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk