Boost logo

Boost :

Subject: Re: [boost] phoenix::bind
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-10-04 11:36:01


AMDG

Joel de Guzman wrote:
>>> 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?
>
> Not sure I understand.

let. _z
   ^

let must be an object that has a member called _z.

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